mirror of
https://github.com/scummvm/scummvm.git
synced 2026-06-20 05:45:29 +00:00
GRIM: Let the actors turn and update also when the mode is ENGINE_MODE_SMUSH. Fix #249
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user