diff options
author | Paul Gilbert | 2018-04-07 18:30:37 -0400 |
---|---|---|
committer | Paul Gilbert | 2018-04-07 18:30:37 -0400 |
commit | b8715dca0ed6d536dca45489a9b00763103c0107 (patch) | |
tree | 15c4932c4f528079c129e1273f75bd82b66a3ffa | |
parent | 14c1651a119373c77595d966d06bdaea7c4e3c88 (diff) | |
download | scummvm-rg350-b8715dca0ed6d536dca45489a9b00763103c0107.tar.gz scummvm-rg350-b8715dca0ed6d536dca45489a9b00763103c0107.tar.bz2 scummvm-rg350-b8715dca0ed6d536dca45489a9b00763103c0107.zip |
XEEN: Cleanup of unused local in Scripts
-rw-r--r-- | engines/xeen/scripts.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/xeen/scripts.cpp b/engines/xeen/scripts.cpp index 34f059cd9e..47cea992d0 100644 --- a/engines/xeen/scripts.cpp +++ b/engines/xeen/scripts.cpp @@ -596,7 +596,7 @@ bool Scripts::cmdTakeOrGive(ParamsIterator ¶ms) { Combat &combat = *_vm->_combat; Party &party = *_vm->_party; Windows &windows = *_vm->_windows; - int mode1, mode2, mode3, param2; + int mode1, mode2, mode3; uint32 val1, val2, val3; _refreshIcons = true; @@ -618,7 +618,7 @@ bool Scripts::cmdTakeOrGive(ParamsIterator ¶ms) { break; } - param2 = mode2 = params.readByte(); + mode2 = params.readByte(); switch (mode2) { case 16: case 34: |