diff Engine/Objects/Chest.cpp @ 2567:d569340b05ff

Few constants changed into enum values
author a.parshin
date Thu, 21 May 2015 01:50:59 +0200
parents 30eb6dcac768
children dd36326a9994
line wrap: on
line diff
--- a/Engine/Objects/Chest.cpp	Wed May 20 21:05:07 2015 +0200
+++ b/Engine/Objects/Chest.cpp	Thu May 21 01:50:59 2015 +0200
@@ -729,7 +729,7 @@
       v4 = pChests[(int)pGUIWindow_CurrentMenu->par1C].pInventoryIndices[v3] - 1;
       if ( pChests[(int)pGUIWindow_CurrentMenu->par1C].igChestItems[v4].GetItemEquipType() == EQUIP_GOLD )
       {
-        pParty->PartyFindsGold(pChests[(int)pGUIWindow_CurrentMenu->par1C].igChestItems[v4].uSpecEnchantmentType, 0); 
+        pParty->PartyFindsGold(pChests[(int)pGUIWindow_CurrentMenu->par1C].igChestItems[v4].special_enchantment, 0); 
         viewparams->bRedrawGameUI = 1;
       }
       else