Modernize client code (#6250)
[oweals/minetest.git] / src / rollback.h
index a05ef8b78c80647681c8b9d3325d402963ed2e40..e0b3c7c555bb0a6bf8a4b99b5946498719415708 100644 (file)
@@ -80,10 +80,10 @@ private:
                time_t suspect_t, v3s16 action_p, time_t action_t);
 
 
-       IGameDef * gamedef;
+       IGameDef *gamedef = nullptr;
 
        std::string current_actor;
-       bool current_actor_is_guess;
+       bool current_actor_is_guess = false;
 
        std::list<RollbackAction> action_todisk_buffer;
        std::list<RollbackAction> action_latest_buffer;