aboutsummaryrefslogtreecommitdiff
path: root/engines/teenagent
diff options
context:
space:
mode:
authorVladimir Menshakov2010-01-03 16:43:59 +0000
committerVladimir Menshakov2010-01-03 16:43:59 +0000
commit6271dc2821c85eb162be15647e71596e887eb23a (patch)
tree7698266729dac8b0aa60155e251ec6ecd8985a2c /engines/teenagent
parenteed763529702db94191f865780154f4583f1a66d (diff)
downloadscummvm-rg350-6271dc2821c85eb162be15647e71596e887eb23a.tar.gz
scummvm-rg350-6271dc2821c85eb162be15647e71596e887eb23a.tar.bz2
scummvm-rg350-6271dc2821c85eb162be15647e71596e887eb23a.zip
'normal' game speed is about 10fps, not 12
svn-id: r46933
Diffstat (limited to 'engines/teenagent')
-rw-r--r--engines/teenagent/teenagent.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/teenagent/teenagent.cpp b/engines/teenagent/teenagent.cpp
index 1843e76788..d8a3c86eae 100644
--- a/engines/teenagent/teenagent.cpp
+++ b/engines/teenagent/teenagent.cpp
@@ -505,7 +505,9 @@ Common::Error TeenAgentEngine::run() {
}
_system->showMouse(scene->getMessage().empty());
- uint32 f0 = frame * 12 / 25, f1 = (frame + 1) * 12 / 25;
+ //game delays: slow 16, normal 11, fast 5, crazy 1
+ //mark delays: 4 * (3 - hero_speed), normal == 1
+ uint32 f0 = frame * 10 / 25, f1 = (frame + 1) * 10 / 25;
if (f0 != f1) {
bool b = scene->render();
scene_busy = b;