diff options
author | Kari Salminen | 2008-01-10 12:40:57 +0000 |
---|---|---|
committer | Kari Salminen | 2008-01-10 12:40:57 +0000 |
commit | 286a3da49b60974793add684226884ba2db3bcbc (patch) | |
tree | 413862c6d9f3b09e0604aff3c92420a6b5f630d1 /engines | |
parent | becce923fc5e40eb930d2fa51457ba951f93f40a (diff) | |
download | scummvm-rg350-286a3da49b60974793add684226884ba2db3bcbc.tar.gz scummvm-rg350-286a3da49b60974793add684226884ba2db3bcbc.tar.bz2 scummvm-rg350-286a3da49b60974793add684226884ba2db3bcbc.zip |
Remove disabling of moving using mouse in mines in Amiga's Gold Rush introduced in r30375. So bug #1733297 remains although not stricly in its original form (Moving using mouse in the mines bugs still but not identically as when the bug report was given).
svn-id: r30377
Diffstat (limited to 'engines')
-rw-r--r-- | engines/agi/keyboard.cpp | 16 |
1 files changed, 4 insertions, 12 deletions
diff --git a/engines/agi/keyboard.cpp b/engines/agi/keyboard.cpp index 78054e84b4..c4532941d6 100644 --- a/engines/agi/keyboard.cpp +++ b/engines/agi/keyboard.cpp @@ -180,18 +180,10 @@ int AgiEngine::handleController(int key) { if (!(getFeatures() & GF_AGIMOUSE)) { /* Handle mouse button events */ if (key == BUTTON_LEFT) { - // FIXME: Implement adj.ego.move.to.x.y-command properly (With 2 arguments) and remove this hack. - // This is a hack for preventing mouse usage in the mines (Rooms 147-162) in Amiga Gold Rush as - // moving with mouse bugs in the mines because adj.ego.move.to.x.y isn't properly implemented yet. - if (getGameID() == GID_GOLDRUSH && getPlatform() == Common::kPlatformAmiga && _game.vars[0] >= 147 && _game.vars[0] <= 162) { - messageBox("Use yer arrow keys ta walk."); - return true; - } else { - v->flags |= ADJ_EGO_XY; - v->parm1 = WIN_TO_PIC_X(g_mouse.x); - v->parm2 = WIN_TO_PIC_Y(g_mouse.y); - return true; - } + v->flags |= ADJ_EGO_XY; + v->parm1 = WIN_TO_PIC_X(g_mouse.x); + v->parm2 = WIN_TO_PIC_Y(g_mouse.y); + return true; } } |