diff options
author | Johannes Schickel | 2010-08-05 14:41:00 +0000 |
---|---|---|
committer | Johannes Schickel | 2010-08-05 14:41:00 +0000 |
commit | 9cd333152b763a109cf5b88af508678c1ea3fba7 (patch) | |
tree | 177ed509f1af53f79349a784c9dc1415ba9d4f20 /engines/kyra/timer_lok.cpp | |
parent | ff2ad216b1e4042e8b64323998605d2d83e36427 (diff) | |
download | scummvm-rg350-9cd333152b763a109cf5b88af508678c1ea3fba7.tar.gz scummvm-rg350-9cd333152b763a109cf5b88af508678c1ea3fba7.tar.bz2 scummvm-rg350-9cd333152b763a109cf5b88af508678c1ea3fba7.zip |
KYRA: Add support for subtitle options changes via GMM.
svn-id: r51757
Diffstat (limited to 'engines/kyra/timer_lok.cpp')
-rw-r--r-- | engines/kyra/timer_lok.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/kyra/timer_lok.cpp b/engines/kyra/timer_lok.cpp index 40426a3dfe..6f4948c279 100644 --- a/engines/kyra/timer_lok.cpp +++ b/engines/kyra/timer_lok.cpp @@ -188,6 +188,9 @@ void KyraEngine_LoK::timerRedrawAmulet(int timerNum) { } void KyraEngine_LoK::setWalkspeed(uint8 newSpeed) { + if (!_timer) + return; + static const uint8 speeds[] = { 11, 9, 6, 5, 3 }; assert(newSpeed < ARRAYSIZE(speeds)); |