diff options
Diffstat (limited to 'engines/xeen/scripts.cpp')
-rw-r--r-- | engines/xeen/scripts.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/engines/xeen/scripts.cpp b/engines/xeen/scripts.cpp index 81af063f2f..a781086238 100644 --- a/engines/xeen/scripts.cpp +++ b/engines/xeen/scripts.cpp @@ -115,7 +115,6 @@ bool MirrorEntry::synchronize(Common::SeekableReadStream &s) { Scripts::Scripts(XeenEngine *vm) : _vm(vm) { _whoWill = 0; - _itemType = 0; _treasureItems = 0; _lineNum = 0; _charIndex = 0; @@ -144,7 +143,6 @@ int Scripts::checkEvents() { int ccNum = files._ccNum; _refreshIcons = false; - _itemType = 0; _scriptExecuted = false; _dirFlag = false; _whoWill = 0; @@ -1313,7 +1311,7 @@ bool Scripts::cmdGiveEnchanted(ParamsIterator ¶ms) { } bool Scripts::cmdItemType(ParamsIterator ¶ms) { - _itemType = params.readByte(); + Character::_itemType = params.readByte(); return true; } |