diff options
author | Eugene Sandulenko | 2005-10-07 05:31:13 +0000 |
---|---|---|
committer | Eugene Sandulenko | 2005-10-07 05:31:13 +0000 |
commit | fe48a005177228f7b63dbd1d73630336de5c15cd (patch) | |
tree | c932048f79b3472ddc688cf314ee08aa0e36ccb4 /saga/sfuncs.cpp | |
parent | 5f20bf11e6b694319d1d6a3e8df833008bbb56b7 (diff) | |
download | scummvm-rg350-fe48a005177228f7b63dbd1d73630336de5c15cd.tar.gz scummvm-rg350-fe48a005177228f7b63dbd1d73630336de5c15cd.tar.bz2 scummvm-rg350-fe48a005177228f7b63dbd1d73630336de5c15cd.zip |
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
Diffstat (limited to 'saga/sfuncs.cpp')
-rw-r--r-- | saga/sfuncs.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
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 |