comparison Indoor.cpp @ 1828:35c1e4ff6ba7

party_finds_gold to Party::PartyFindsGold, cleaned up, moved Level/Decoration.h reference out of Indoor.h
author Grumpy7
date Fri, 11 Oct 2013 07:04:19 +0200
parents 8f20f7e1091d
children 303a56458f7b
comparison
equal deleted inserted replaced
1827:0c75c3e7e436 1828:35c1e4ff6ba7
38 #include "stru6.h" 38 #include "stru6.h"
39 #include "ParticleEngine.h" 39 #include "ParticleEngine.h"
40 #include "Outdoor_stuff.h" 40 #include "Outdoor_stuff.h"
41 #include "texts.h" 41 #include "texts.h"
42 #include "GUIWindow.h" 42 #include "GUIWindow.h"
43 #include "Level/Decoration.h"
43 44
44 45
45 46
46 47
47 48
6057 return 1; 6058 return 1;
6058 v19 = &pSpriteObjects[v18].stru_24; 6059 v19 = &pSpriteObjects[v18].stru_24;
6059 v20 = pSpriteObjects[v18].stru_24.uItemID; 6060 v20 = pSpriteObjects[v18].stru_24.uItemID;
6060 if ( pItemsTable->pItems[v20].uEquipType == EQUIP_GOLD) 6061 if ( pItemsTable->pItems[v20].uEquipType == EQUIP_GOLD)
6061 { 6062 {
6062 party_finds_gold(v19->uSpecEnchantmentType, 0); 6063 pParty->PartyFindsGold(v19->uSpecEnchantmentType, 0);
6063 viewparams->bRedrawGameUI = 1; 6064 viewparams->bRedrawGameUI = 1;
6064 v21 = v17; 6065 v21 = v17;
6065 } 6066 }
6066 else 6067 else
6067 { 6068 {