diff options
Diffstat (limited to 'engines')
-rw-r--r-- | engines/saga/script.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/saga/script.cpp b/engines/saga/script.cpp index f7a5e1c42a..0e478d6937 100644 --- a/engines/saga/script.cpp +++ b/engines/saga/script.cpp @@ -358,6 +358,8 @@ int Script::getVerbType(VerbTypes verbType) { } } else { + // TODO: This is ugly and needs rewriting, but + // it works for now switch (verbType) { case kVerbNone: return kVerbIHNMNone; @@ -372,13 +374,11 @@ int Script::getVerbType(VerbTypes verbType) { case kVerbTalkTo: return kVerbIHNMTalkTo; case kVerbOpen: - return -2; - // return kVerbIHNMSwallow; + return kVerbIHNMSwallow; case kVerbGive: return kVerbIHNMGive; case kVerbClose: - return -2; - // return kVerbIHNMPush; + return kVerbIHNMPush; case kVerbEnter: return kVerbIHNMEnter; case kVerbWalkOnly: |