aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/adl/hires5.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/adl/hires5.cpp b/engines/adl/hires5.cpp
index 37093741b2..b98dfc57c3 100644
--- a/engines/adl/hires5.cpp
+++ b/engines/adl/hires5.cpp
@@ -101,6 +101,10 @@ void HiRes5Engine::drawLight(uint index, byte color) const {
}
void HiRes5Engine::animateLights() const {
+ // Skip this if we're running a debug script
+ if (_inputScript)
+ return;
+
int index;
byte color = 0x2a;