diff options
author | Walter van Niftrik | 2018-08-05 01:48:26 +0200 |
---|---|---|
committer | Walter van Niftrik | 2019-07-16 16:24:20 +0200 |
commit | 338baf827cc7dc9c335a8fed4d62ccf2d6231473 (patch) | |
tree | 9313cce7d4ca99758cfe3afdd27b82dfc85d17b2 /engines/adl/hires5.cpp | |
parent | 39acda0c9fc0e9985a8eaac51c720470eb977c10 (diff) | |
download | scummvm-rg350-338baf827cc7dc9c335a8fed4d62ccf2d6231473.tar.gz scummvm-rg350-338baf827cc7dc9c335a8fed4d62ccf2d6231473.tar.bz2 scummvm-rg350-338baf827cc7dc9c335a8fed4d62ccf2d6231473.zip |
ADL: Fix debug mode hang in hires5 animation
Diffstat (limited to 'engines/adl/hires5.cpp')
-rw-r--r-- | engines/adl/hires5.cpp | 4 |
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; |