diff options
author | Travis Howell | 2006-10-07 08:28:06 +0000 |
---|---|---|
committer | Travis Howell | 2006-10-07 08:28:06 +0000 |
commit | 1a785b85b3255ac1d5e2f6ba9461922020f8c108 (patch) | |
tree | 80ae7fc90db190c2f6686bcc89cad19283cf4c3f /engines/agos/verb.cpp | |
parent | d961722cb0a4af2d801027779928946ce5c34ea1 (diff) | |
download | scummvm-rg350-1a785b85b3255ac1d5e2f6ba9461922020f8c108.tar.gz scummvm-rg350-1a785b85b3255ac1d5e2f6ba9461922020f8c108.tar.bz2 scummvm-rg350-1a785b85b3255ac1d5e2f6ba9461922020f8c108.zip |
Add more code differences in Elvira 1
svn-id: r24161
Diffstat (limited to 'engines/agos/verb.cpp')
-rw-r--r-- | engines/agos/verb.cpp | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/engines/agos/verb.cpp b/engines/agos/verb.cpp index 7242cdb901..e3c06bc8a7 100644 --- a/engines/agos/verb.cpp +++ b/engines/agos/verb.cpp @@ -744,10 +744,17 @@ void AGOSEngine::boxController(uint x, uint y, uint mode) { if (getGameType() == GType_PP) { _variableArray[400] = x; _variableArray[401] = y; - } else { + } else if (getGameType() == GType_SIMON1 || getGameType() == GType_SIMON2 || + getGameType() == GType_FF) { _variableArray[1] = x; _variableArray[2] = y; - } + } else if (getGameType() == GType_ELVIRA1) { + if (best_ha->verb & 0x4000) { + if (_variableArray[500] == 0) { + _variableArray[500] = best_ha->verb & 0xBFFF; + } + } + } } if (best_ha->flags & kBFNoTouchName) { |