aboutsummaryrefslogtreecommitdiff
path: root/script_v1.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'script_v1.cpp')
-rw-r--r--script_v1.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/script_v1.cpp b/script_v1.cpp
index 3ad7289798..2fa4c55890 100644
--- a/script_v1.cpp
+++ b/script_v1.cpp
@@ -1545,13 +1545,11 @@ void Scumm::o5_lights()
b = fetchScriptByte();
c = fetchScriptByte();
- warning("o5_lights(%d,%d,%d): lights not implemented", a, b, c);
-
if (c == 0)
_vars[VAR_CURRENT_LIGHTS] = a;
else if (c == 1) {
- _lightDx = a;
- _lightDy = b;
+ _flashlightXStrips = a;
+ _flashlightYStrips = b;
}
_fullRedraw = 1;
}