Mercurial > mm7
diff NPC.h @ 618:5cfb5dadf330
Margareth righ-click (addded constructor to NPCProfession) and cleaned BLV debug logs
author | Nomad |
---|---|
date | Fri, 08 Mar 2013 16:06:49 +0200 |
parents | 0a1ea44b4a0a |
children | 59713bb36033 |
line wrap: on
line diff
--- a/NPC.h Fri Mar 08 15:52:47 2013 +0200 +++ b/NPC.h Fri Mar 08 16:06:49 2013 +0200 @@ -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;