From 4e41869b54a4d2fdb36229709d646005dfe3339d Mon Sep 17 00:00:00 2001 From: Giulio Camuffo Date: Wed, 13 Jul 2011 14:40:22 +0200 Subject: [PATCH] GRIM: Let the actors turn and update also when the mode is ENGINE_MODE_SMUSH. Fix #249 --- engines/grim/grim.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engines/grim/grim.cpp b/engines/grim/grim.cpp index 367e06997b8..4b80ea599f5 100644 --- a/engines/grim/grim.cpp +++ b/engines/grim/grim.cpp @@ -888,7 +888,7 @@ void GrimEngine::luaUpdate() { // Run asynchronous tasks lua_runtasks(); - if (_mode == ENGINE_MODE_NORMAL) { + if (_mode == ENGINE_MODE_NORMAL || _mode == ENGINE_MODE_SMUSH) { // Update the actors. Do it here so that we are sure to react asap to any change // in the actors state caused by lua. for (ActorListType::iterator i = _actors.begin(); i != _actors.end(); ++i) {