From 8d1dd18bdaa95ab01c9bf56aeae1e15439f51195 Mon Sep 17 00:00:00 2001 From: Kari Salminen Date: Mon, 21 Jan 2008 21:09:42 +0000 Subject: 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 --- engines/agi/agi.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'engines/agi/agi.cpp') 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; -- cgit v1.2.3