diff options
author | Tobias Gunkel | 2012-01-04 16:18:18 +0100 |
---|---|---|
committer | Tobias Gunkel | 2012-02-11 08:28:13 +0100 |
commit | c69a52853ccc42f3891ce4212fa281dbea65c3ea (patch) | |
tree | 611e0df000050e0d69bf37168ce80a9995184382 /engines/scumm | |
parent | a709a4231937fef823352cffb7146a94d9f8cccf (diff) | |
download | scummvm-rg350-c69a52853ccc42f3891ce4212fa281dbea65c3ea.tar.gz scummvm-rg350-c69a52853ccc42f3891ce4212fa281dbea65c3ea.tar.bz2 scummvm-rg350-c69a52853ccc42f3891ce4212fa281dbea65c3ea.zip |
SCUMM: remove unneeded verbPrep() calls
Diffstat (limited to 'engines/scumm')
-rw-r--r-- | engines/scumm/verbs.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/engines/scumm/verbs.cpp b/engines/scumm/verbs.cpp index 1bb0c0a34d..dc4a47a231 100644 --- a/engines/scumm/verbs.cpp +++ b/engines/scumm/verbs.cpp @@ -882,7 +882,6 @@ bool ScummEngine_v0::verbExecutes(int object, bool inventory) { } bool ScummEngine_v0::verbExec() { - int prep = 0; int entry = (_currentMode != 0 && _currentMode != 1) ? _activeVerb : 15; if (_activeObject && getObjectIndex(_activeObject) == -1) { @@ -892,8 +891,6 @@ bool ScummEngine_v0::verbExec() { // Lets try walk to the object if (_activeObject && !_activeObjectObtained && _currentMode != 0) { - prep = verbPrep(); - if (verbObtain(_activeObject, _activeObjectType)) return true; |