diff options
author | Vladimir Menshakov | 2010-02-25 19:54:28 +0000 |
---|---|---|
committer | Vladimir Menshakov | 2010-02-25 19:54:28 +0000 |
commit | a0a300af6bd17c059237ebf13cc35e8e0a187457 (patch) | |
tree | 2ef200dc28a62e098b33d59b29aa8e8134a4bc20 | |
parent | 6e07e3e6424750d8d6d8536dd67d4962f2ea9db4 (diff) | |
download | scummvm-rg350-a0a300af6bd17c059237ebf13cc35e8e0a187457.tar.gz scummvm-rg350-a0a300af6bd17c059237ebf13cc35e8e0a187457.tar.bz2 scummvm-rg350-a0a300af6bd17c059237ebf13cc35e8e0a187457.zip |
fixed delayed callback timing
svn-id: r48125
-rw-r--r-- | engines/teenagent/scene.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/teenagent/scene.cpp b/engines/teenagent/scene.cpp index db8d29a83b..530e6367a8 100644 --- a/engines/teenagent/scene.cpp +++ b/engines/teenagent/scene.cpp @@ -815,12 +815,13 @@ bool Scene::render(bool tick_game, bool tick_mark, uint32 delta) { } } - if (!busy && !restart && callback_timer) { + if (!busy && !restart && tick_game && callback_timer) { if (--callback_timer == 0) { if (_engine->inventory->active()) _engine->inventory->activate(false); _engine->processCallback(callback); } + //debug(0, "callback timer = %u", callback_timer); } //if (!current_event.empty()) |