aboutsummaryrefslogtreecommitdiff
path: root/scumm/script_v2.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'scumm/script_v2.cpp')
-rw-r--r--scumm/script_v2.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/scumm/script_v2.cpp b/scumm/script_v2.cpp
index 6532999659..a509a01f91 100644
--- a/scumm/script_v2.cpp
+++ b/scumm/script_v2.cpp
@@ -1274,9 +1274,10 @@ void ScummEngine_v2::o2_lights() {
// 0 Darkness
// 1 Flashlight
// 2 Lighted area
- if (a == 2)
+ // 11 and 12 are used by NES version
+ if (a == 2 || a == 11)
VAR(VAR_CURRENT_LIGHTS) = 11;
- else if (a == 1)
+ else if (a == 1 || a == 12)
VAR(VAR_CURRENT_LIGHTS) = 4;
else
VAR(VAR_CURRENT_LIGHTS) = 0;