aboutsummaryrefslogtreecommitdiff
path: root/scumm/script_v6.cpp
diff options
context:
space:
mode:
authorTravis Howell2004-01-22 02:37:41 +0000
committerTravis Howell2004-01-22 02:37:41 +0000
commit1f7a74099a5b534ccbe5d9853cdb7830b13448bb (patch)
treebd6f33378ea1ab6cc7142c9a763485733ac58ca1 /scumm/script_v6.cpp
parentb982864a8d37407f7a91ffc233ece55cc46b8def (diff)
downloadscummvm-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.cpp13
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);