Skip to content

Commit e997120

Browse files
committed
Fix compile error
1 parent 79b4377 commit e997120

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

src/program/GameLoop.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -809,10 +809,8 @@ void GameLoop::processInputs(AllInputs &ai)
809809
ai.clear();
810810

811811
/* Allow lua to modify inputs past the end of the movie */
812-
Lua::Input::registerInputs(&ai, &modified);
812+
Lua::Input::registerInputs(&ai, &modified_by_lua);
813813
Lua::Callbacks::call(Lua::NamedLuaFunction::CallbackInput);
814-
if (modified)
815-
movie.inputs->wasModified();
816814
}
817815

818816
/* Update controller inputs if controller window is shown */

0 commit comments

Comments
 (0)