diff options
Diffstat (limited to 'src/game.cpp')
-rw-r--r-- | src/game.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/game.cpp b/src/game.cpp index e74d42cd0..648c71774 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -1014,7 +1014,8 @@ bool Game::startup(bool *kill, RenderingEngine::get_scene_manager()->getParameters()-> setAttribute(scene::OBJ_LOADER_IGNORE_MATERIAL_FILES, true); - memset(&runData, 0, sizeof(runData)); + // Reinit runData + runData = GameRunData(); runData.time_from_last_punch = 10.0; runData.update_wielded_item_trigger = true; |