Mercurial > mm7
diff Viewport.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 | c6fe09a06712 |
children | 303a56458f7b |
line wrap: on
line diff
--- a/Viewport.cpp Fri Oct 11 05:49:39 2013 +0200 +++ b/Viewport.cpp Fri Oct 11 07:04:19 2013 +0200 @@ -20,6 +20,7 @@ #include "TurnEngine.h" #include "stru123.h" #include "MM7.h" +#include "Level/Decoration.h" //----- (004C0262) -------------------------------------------------------- @@ -289,7 +290,7 @@ { if ( pSpriteObjects[v21].stru_24.GetItemEquipType() == 18 ) { - party_finds_gold(pSpriteObjects[v21].stru_24.uSpecEnchantmentType, 0); + pParty->PartyFindsGold(pSpriteObjects[v21].stru_24.uSpecEnchantmentType, 0); viewparams->bRedrawGameUI = 1; } else