diff NPC.h @ 622:d92de5102da8

Слияние
author Ritor1
date Fri, 08 Mar 2013 22:41:24 +0600
parents 5cfb5dadf330
children 59713bb36033
line wrap: on
line diff
--- a/NPC.h	Fri Mar 08 22:41:16 2013 +0600
+++ b/NPC.h	Fri Mar 08 22:41:24 2013 +0600
@@ -202,6 +202,10 @@
 #pragma pack(push, 1)
 struct NPCProfession
 {
+  inline NPCProfession():
+    uHirePrice(0), pBenefits(nullptr), pActionText(nullptr), pJoinText(nullptr), pDismissText(nullptr)
+  {}
+
   unsigned int uHirePrice;
   char *pBenefits;
   char *pActionText;