Mercurial > mm7
diff NPC.h @ 252:e22e2357c8b3
Merge
author | Gloval |
---|---|
date | Mon, 18 Feb 2013 08:59:34 +0400 |
parents | 48f21f569328 37dcbe8f3cca |
children | f1218b9d67f1 |
line wrap: on
line diff
--- a/NPC.h Mon Feb 18 08:47:21 2013 +0400 +++ b/NPC.h Mon Feb 18 08:59:34 2013 +0400 @@ -17,9 +17,11 @@ #pragma pack(push, 1) struct NPCData { + inline bool Hired() {return uFlags & 0x80;} + char *pName; unsigned int uPortraitID; - unsigned int uFlags; // & 0x80 no greeting on dialogue start + unsigned int uFlags; // & 0x80 no greeting on dialogue start; looks like hired int fame; int rep; int house;