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_hof.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_hof.cpp')
-rw-r--r-- | engines/kyra/timer_hof.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/kyra/timer_hof.cpp b/engines/kyra/timer_hof.cpp index 117b84f48a..d8f86e30a2 100644 --- a/engines/kyra/timer_hof.cpp +++ b/engines/kyra/timer_hof.cpp @@ -97,6 +97,9 @@ void KyraEngine_HoF::setTimer1DelaySecs(int secs) { } void KyraEngine_HoF::setWalkspeed(uint8 newSpeed) { + if (!_timer) + return; + if (newSpeed < 5) newSpeed = 3; else |