diff --git a/scumm/actor.h b/scumm/actor.h index 47a3f54666e..d1ef4d9d07f 100644 --- a/scumm/actor.h +++ b/scumm/actor.h @@ -157,7 +157,9 @@ public: byte *getActorName(); void startWalkActor(int x, int y, int dir); void stopActorMoving(); +protected: void startWalkAnim(int cmd, int angle); +public: void startAnimActor(int frame); void remapActorPalette(int r_fact, int g_fact, int b_fact, int threshold); diff --git a/scumm/script_v6.cpp b/scumm/script_v6.cpp index 275cde4b51d..62063547259 100644 --- a/scumm/script_v6.cpp +++ b/scumm/script_v6.cpp @@ -1167,7 +1167,7 @@ void Scumm_v6::o6_loadRoomWithEgo() { _fullRedraw = 1; - if (x != -1) { + if (x != -1 && x != 0x7FFFFFFF) { a->startWalkActor(x, y, -1); } } diff --git a/scumm/string.cpp b/scumm/string.cpp index 446978dfe6d..c7b49e6d9e7 100644 --- a/scumm/string.cpp +++ b/scumm/string.cpp @@ -690,8 +690,6 @@ void Scumm::enqueueText(const byte *text, int x, int y, byte color, byte charset } void Scumm::drawBlastTexts() { - // FIXME - byte *buf; int c; int i;