From fe48a005177228f7b63dbd1d73630336de5c15cd Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Fri, 7 Oct 2005 05:31:13 +0000 Subject: Draw acrtors (eriktorbjorn, rejoice). It: o breaks intro, as now everything seems to be shifted. o Shows problem at our firt scene where there is no inventory drawn o Shows problem with our animation code, actor frames are wrong o Draws actors upside down and probably at wrong location o Due to incomplete implementation of whichObject() it crashes when you hover over characters. svn-id: r18952 --- saga/sfuncs.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'saga/sfuncs.cpp') diff --git a/saga/sfuncs.cpp b/saga/sfuncs.cpp index a0d955db12..286fd20901 100644 --- a/saga/sfuncs.cpp +++ b/saga/sfuncs.cpp @@ -1100,7 +1100,7 @@ void Script::sfPlaceActor(SCRIPTFUNC_PARAMS) { frameType = thread->pop(); frameOffset = thread->pop(); - debug(1, "sfPlaceActor(id = %d, x=%d, y=%d, dir=%d, frameType=%d, frameOffset=%d)", actorId, actorLocation.x, + debug(1, "sfPlaceActor(id = 0x%x, x=%d, y=%d, dir=%d, frameType=%d, frameOffset=%d)", actorId, actorLocation.x, actorLocation.y, actorDirection, frameType, frameOffset); actor = _vm->_actor->getActor(actorId); @@ -1122,7 +1122,6 @@ void Script::sfPlaceActor(SCRIPTFUNC_PARAMS) { } actor->_targetObject = ID_NOTHING; - } // Script function #44 (0x2C) nonblocking -- cgit v1.2.3