diff 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
line wrap: on
line diff
--- a/Indoor.cpp	Fri Oct 11 05:49:39 2013 +0200
+++ b/Indoor.cpp	Fri Oct 11 07:04:19 2013 +0200
@@ -40,6 +40,7 @@
 #include "Outdoor_stuff.h"
 #include "texts.h"
 #include "GUIWindow.h"
+#include "Level/Decoration.h"
 
 
 
@@ -6059,7 +6060,7 @@
       v20 = pSpriteObjects[v18].stru_24.uItemID;
       if ( pItemsTable->pItems[v20].uEquipType == EQUIP_GOLD)
       {
-        party_finds_gold(v19->uSpecEnchantmentType, 0);
+        pParty->PartyFindsGold(v19->uSpecEnchantmentType, 0);
         viewparams->bRedrawGameUI = 1;
         v21 = v17;
       }