Mercurial > mm7
comparison Engine/Engine.cpp @ 2567:d569340b05ff
Few constants changed into enum values
author | a.parshin |
---|---|
date | Thu, 21 May 2015 01:50:59 +0200 |
parents | 30eb6dcac768 |
children | d433439699be |
comparison
equal
deleted
inserted
replaced
2566:30eb6dcac768 | 2567:d569340b05ff |
---|---|
2952 if (pParty->pPlayers[v49].pInventoryItemList[_idx - 1].uItemID == ITEM_ARTIFACT_HEROS_BELT) | 2952 if (pParty->pPlayers[v49].pInventoryItemList[_idx - 1].uItemID == ITEM_ARTIFACT_HEROS_BELT) |
2953 recovery_HP = true; | 2953 recovery_HP = true; |
2954 } | 2954 } |
2955 else | 2955 else |
2956 { | 2956 { |
2957 v25 = pParty->pPlayers[v49].pInventoryItemList[_idx - 1].uSpecEnchantmentType; | 2957 v25 = pParty->pPlayers[v49].pInventoryItemList[_idx - 1].special_enchantment; |
2958 if (v25 == 37 //of Regeneration("Regenerate 1hp/x while walking, etc") | 2958 if (v25 == 37 //of Regeneration("Regenerate 1hp/x while walking, etc") |
2959 || v25 == 44 //of Life("HP (+10), Regen hpts") | 2959 || v25 == 44 //of Life("HP (+10), Regen hpts") |
2960 || v25 == 50 //of The Phoenix("Fire Res (+30), Regen hpts") && | 2960 || v25 == 50 //of The Phoenix("Fire Res (+30), Regen hpts") && |
2961 || v25 == 54)// of The Troll("End (+15), Regen hpts") | 2961 || v25 == 54)// of The Troll("End (+15), Regen hpts") |
2962 recovery_HP = true; | 2962 recovery_HP = true; |