Skip to content

Commit

Permalink
SCUMM: remove unneeded verbPrep() calls
Browse files Browse the repository at this point in the history
  • Loading branch information
tobigun committed Feb 11, 2012
1 parent a709a42 commit c69a528
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions engines/scumm/verbs.cpp
Expand Up @@ -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) {
Expand All @@ -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;

Expand Down

0 comments on commit c69a528

Please sign in to comment.