comparison NPC.h @ 1113:39eaa6b00141

something to bool cast (performance warning) mostly fixed
author Grumpy7
date Tue, 28 May 2013 00:19:45 +0200
parents 1ff57450f090
children ab6560001f5b
comparison
equal deleted inserted replaced
1112:4994eb3947ae 1113:39eaa6b00141
75 75
76 /* 136 */ 76 /* 136 */
77 #pragma pack(push, 1) 77 #pragma pack(push, 1)
78 struct NPCData //4Ch 78 struct NPCData //4Ch
79 { 79 {
80 inline bool Hired() {return uFlags & 0x80;} 80 inline bool Hired() {return (uFlags & 0x80) != 0;}
81 81
82 char *pName; //0 82 char *pName; //0
83 unsigned int uPortraitID; //4 83 unsigned int uPortraitID; //4
84 unsigned int uFlags; //8 // & 0x80 no greeting on dialogue start; looks like hired 84 unsigned int uFlags; //8 // & 0x80 no greeting on dialogue start; looks like hired
85 int fame; //c 85 int fame; //c