diff --git a/src/game.cpp b/src/game.cpp index 29df7f74957d8..d715ecfb09363 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -278,6 +278,8 @@ game::game() : // The reason for this move is so that g is not uninitialized when it gets to installing the parts into vehicles. } +game::~game() = default; + // Load everything that will not depend on any mods void game::load_static_data() { @@ -403,11 +405,6 @@ void game::load_data_from_dir( const std::string &path, const std::string &src, DynamicDataLoader::get_instance().load_data_from_path( path, src, ui ); } -game::~game() -{ - MAPBUFFER.reset(); -} - // Fixed window sizes #define MINIMAP_HEIGHT 7 #define MINIMAP_WIDTH 7