do not decrement timer while scene is busy

svn-id: r46062
This commit is contained in:
Vladimir Menshakov 2009-11-22 08:27:41 +00:00
parent 2d31fc3af8
commit 9b20e622d9

View File

@ -743,7 +743,7 @@ bool Scene::render(OSystem *system) {
}
}
if (callback_timer) {
if (!busy && !restart && callback_timer) {
if (--callback_timer == 0) {
if (_engine->inventory->active())
_engine->inventory->activate(false);