aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm/script_v6.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/scumm/script_v6.cpp')
-rw-r--r--engines/scumm/script_v6.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/scumm/script_v6.cpp b/engines/scumm/script_v6.cpp
index 2d195026ef..420ee6a739 100644
--- a/engines/scumm/script_v6.cpp
+++ b/engines/scumm/script_v6.cpp
@@ -987,7 +987,7 @@ void ScummEngine_v6::o6_cursorCommand() {
case 0x97: // SO_USERPUT_SOFT_OFF
_userPut--;
break;
- case 0x99: // SO_CURSOR_IMAGE Set cursor image
+ case 0x99: // SO_CURSOR_IMAGE Set cursor image
{
int room, obj;
if (_game.heversion >= 70) {
@@ -2246,8 +2246,8 @@ void ScummEngine_v6::o6_wait() {
// For now, if the value passed in is divisible by 45, assume it is an
// angle, and use _curActor as the actor to wait for.
offs = fetchScriptWordSigned();
- actnum = pop();
- if (actnum % 45 == 0) {
+ actnum = pop();
+ if (actnum % 45 == 0) {
actnum = _curActor;
}
a = derefActor(actnum, "o6_wait:232b");