Mercurial > mm7
comparison NPC.cpp @ 1099:94aff285558e
Right click NPC fix
author | Grumpy7 |
---|---|
date | Mon, 27 May 2013 00:46:26 +0200 |
parents | c40d40027b77 |
children | 5d5c78088274 |
comparison
equal
deleted
inserted
replaced
1098:81a51a0443e2 | 1099:94aff285558e |
---|---|
153 if ( v9 >= 2 ) | 153 if ( v9 >= 2 ) |
154 result = &pNPCStats->pNPCData[499 + v9]; | 154 result = &pNPCStats->pNPCData[499 + v9]; |
155 else | 155 else |
156 result = &pParty->pHirelings[v9]; | 156 result = &pParty->pHirelings[v9]; |
157 } | 157 } |
158 return result; | |
158 } | 159 } |
159 | 160 |
160 //----- (00445B2C) -------------------------------------------------------- | 161 //----- (00445B2C) -------------------------------------------------------- |
161 struct NPCData * GetNewNPCData( signed int npcid, int* npc_indx ) | 162 struct NPCData * GetNewNPCData( signed int npcid, int* npc_indx ) |
162 { | 163 { |