aboutsummaryrefslogtreecommitdiff
path: root/script_v1.cpp
diff options
context:
space:
mode:
authorMax Horn2002-08-19 17:23:48 +0000
committerMax Horn2002-08-19 17:23:48 +0000
commita5b5b23ae8f28925609208a45af147cf0d8b90f8 (patch)
tree313dd1a5e3ab3437eca7ca52c158880e484f5958 /script_v1.cpp
parentbe528b93dabe8f595dd179bc3e39d0a8460ad6d1 (diff)
downloadscummvm-rg350-a5b5b23ae8f28925609208a45af147cf0d8b90f8.tar.gz
scummvm-rg350-a5b5b23ae8f28925609208a45af147cf0d8b90f8.tar.bz2
scummvm-rg350-a5b5b23ae8f28925609208a45af147cf0d8b90f8.zip
added lights support to the costume renderer; begun work on flashlight support (no real code yet :-)
svn-id: r4774
Diffstat (limited to 'script_v1.cpp')
-rw-r--r--script_v1.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/script_v1.cpp b/script_v1.cpp
index 205dabc978..3ad7289798 100644
--- a/script_v1.cpp
+++ b/script_v1.cpp
@@ -1547,11 +1547,11 @@ void Scumm::o5_lights()
warning("o5_lights(%d,%d,%d): lights not implemented", a, b, c);
- if (c==0)
+ if (c == 0)
_vars[VAR_CURRENT_LIGHTS] = a;
- else if (c==1) {
- //LightDx = a;
- //LightDy = b;
+ else if (c == 1) {
+ _lightDx = a;
+ _lightDy = b;
}
_fullRedraw = 1;
}