aboutsummaryrefslogtreecommitdiff
path: root/engines/xeen/town.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2015-02-02 18:20:27 -0500
committerPaul Gilbert2015-02-02 18:20:27 -0500
commit2b8303c0d8b54ee5251296c86a320735422b62e2 (patch)
treed9c7a37f2500619779090f8b45eb09c906376701 /engines/xeen/town.cpp
parent7febe773008db7cee0ed1b3f5f1f2fb114d22334 (diff)
downloadscummvm-rg350-2b8303c0d8b54ee5251296c86a320735422b62e2.tar.gz
scummvm-rg350-2b8303c0d8b54ee5251296c86a320735422b62e2.tar.bz2
scummvm-rg350-2b8303c0d8b54ee5251296c86a320735422b62e2.zip
XEEN: Implemented assembleItemName method
Diffstat (limited to 'engines/xeen/town.cpp')
-rw-r--r--engines/xeen/town.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/xeen/town.cpp b/engines/xeen/town.cpp
index c5cf0b6a10..3df26859d4 100644
--- a/engines/xeen/town.cpp
+++ b/engines/xeen/town.cpp
@@ -863,10 +863,10 @@ Character *Town::doTempleOptions(Character *c) {
case Common::KEYCODE_u:
if (_uncurseCost && party.subtract(0, _uncurseCost, 0, WT_2)) {
for (int idx = 0; idx < 9; ++idx) {
- c->_weapons[idx]._bonusFlags &= ~FLAG_CURSED;
- c->_armor[idx]._bonusFlags &= ~FLAG_CURSED;
- c->_accessories[idx]._bonusFlags &= ~FLAG_CURSED;
- c->_misc[idx]._bonusFlags &= ~FLAG_CURSED;
+ c->_weapons[idx]._bonusFlags &= ~ITEMFLAG_CURSED;
+ c->_armor[idx]._bonusFlags &= ~ITEMFLAG_CURSED;
+ c->_accessories[idx]._bonusFlags &= ~ITEMFLAG_CURSED;
+ c->_misc[idx]._bonusFlags &= ~ITEMFLAG_CURSED;
}
_v1 = 1440;