diff options
author | Kari Salminen | 2008-01-21 21:09:42 +0000 |
---|---|---|
committer | Kari Salminen | 2008-01-21 21:09:42 +0000 |
commit | 8d1dd18bdaa95ab01c9bf56aeae1e15439f51195 (patch) | |
tree | 3dbe07694a1599e8f59556c15075151787d31609 /engines/agi/agi.cpp | |
parent | 8d3f7c68ee61bafc78f738efc474bc2c3c94161c (diff) | |
download | scummvm-rg350-8d1dd18bdaa95ab01c9bf56aeae1e15439f51195.tar.gz scummvm-rg350-8d1dd18bdaa95ab01c9bf56aeae1e15439f51195.tar.bz2 scummvm-rg350-8d1dd18bdaa95ab01c9bf56aeae1e15439f51195.zip |
Implements 2 arguments version of the adj.ego.move.to.x.y-command. Should fix bug #1733297 (GR: Actor stuck (Amiga version)). Savegames when using adj.ego.move.to.x.y-command may be broken at the moment.
svn-id: r30602
Diffstat (limited to 'engines/agi/agi.cpp')
-rw-r--r-- | engines/agi/agi.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/agi/agi.cpp b/engines/agi/agi.cpp index 5cf82b83bd..570bc29732 100644 --- a/engines/agi/agi.cpp +++ b/engines/agi/agi.cpp @@ -360,6 +360,9 @@ int AgiEngine::agiInit() { debug(2, "initializing"); debug(2, "game.ver = 0x%x", _game.ver); + /* initialize with adj.ego.move.to.x.y(0, 0) so to speak */ + _game.adjMouseX = _game.adjMouseY = 0; + /* reset all flags to false and all variables to 0 */ for (i = 0; i < MAX_FLAGS; i++) _game.flags[i] = 0; |