diff options
author | Travis Howell | 2004-01-22 02:37:41 +0000 |
---|---|---|
committer | Travis Howell | 2004-01-22 02:37:41 +0000 |
commit | 1f7a74099a5b534ccbe5d9853cdb7830b13448bb (patch) | |
tree | bd6f33378ea1ab6cc7142c9a763485733ac58ca1 /scumm/script_v6.cpp | |
parent | b982864a8d37407f7a91ffc233ece55cc46b8def (diff) | |
download | scummvm-rg350-1f7a74099a5b534ccbe5d9853cdb7830b13448bb.tar.gz scummvm-rg350-1f7a74099a5b534ccbe5d9853cdb7830b13448bb.tar.bz2 scummvm-rg350-1f7a74099a5b534ccbe5d9853cdb7830b13448bb.zip |
Remove a few old warnings.
svn-id: r12570
Diffstat (limited to 'scumm/script_v6.cpp')
-rw-r--r-- | scumm/script_v6.cpp | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/scumm/script_v6.cpp b/scumm/script_v6.cpp index 6baf5d1c6f..3c6dc49288 100644 --- a/scumm/script_v6.cpp +++ b/scumm/script_v6.cpp @@ -1921,12 +1921,13 @@ void ScummEngine_v6::o6_actorOps() { a->drawActorCostume(); a->needRedraw = false; - if (a->top < top_actor) { - a->bottom = top_actor; - } - if (a->bottom > bottom_actor) { + if (a->top > top_actor) + a->top = top_actor; + if (a->bottom < bottom_actor) a->bottom = bottom_actor; - } + + //FIXME Trigger redraw + a->bottom = top_actor; } break; case 227: // SO_ACTOR_DEPTH @@ -3191,11 +3192,9 @@ void ScummEngine_v6::o6_writeFile() { // Humongous Entertainment games only void ScummEngine_v6::o6_findAllObjects() { - // FIXME verifty correctness of this opcode int a = pop(); int i = 1; - warning("stub o6_findAllObjects(%d)", a); if (a != _currentRoom) warning("o6_findAllObjects: current room is not %d", a); writeVar(0, 0); |