aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorPaul Gilbert2018-03-30 21:05:52 -0400
committerPaul Gilbert2018-03-30 21:05:52 -0400
commitc33fce7ac7445dc9d5a9cf767673ab3abb52bdf6 (patch)
tree4a03df810a4e5a3c0a4bbde226ded3526c2082a0 /engines
parent66b8da5b02468680293cef860403d4eb4941a6d9 (diff)
downloadscummvm-rg350-c33fce7ac7445dc9d5a9cf767673ab3abb52bdf6.tar.gz
scummvm-rg350-c33fce7ac7445dc9d5a9cf767673ab3abb52bdf6.tar.bz2
scummvm-rg350-c33fce7ac7445dc9d5a9cf767673ab3abb52bdf6.zip
XEEN: Removal of deprecated code
Diffstat (limited to 'engines')
-rw-r--r--engines/xeen/interface.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/engines/xeen/interface.cpp b/engines/xeen/interface.cpp
index 03e6797924..810bfd64cf 100644
--- a/engines/xeen/interface.cpp
+++ b/engines/xeen/interface.cpp
@@ -261,7 +261,6 @@ void Interface::perform() {
Party &party = *_vm->_party;
Scripts &scripts = *_vm->_scripts;
Sound &sound = *_vm->_sound;
- Spells &spells = *_vm->_spells;
const Common::Rect WAIT_BOUNDS(8, 8, 224, 140);
do {
@@ -523,10 +522,6 @@ void Interface::perform() {
draw3d(true);
}
- Character *c = &party._activeParty[(spells._lastCaster < 0 ||
- spells._lastCaster >= (int)party._activeParty.size()) ?
- (int)party._activeParty.size() - 1 : spells._lastCaster];
-
int result = CastSpell::show(_vm);
if (result == 1) {