From a5b5b23ae8f28925609208a45af147cf0d8b90f8 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Mon, 19 Aug 2002 17:23:48 +0000 Subject: added lights support to the costume renderer; begun work on flashlight support (no real code yet :-) svn-id: r4774 --- script_v1.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'script_v1.cpp') 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; } -- cgit v1.2.3