diff options
Diffstat (limited to 'src/game.cpp')
-rw-r--r-- | src/game.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/game.cpp b/src/game.cpp index bf601dd21..ae45e5146 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -660,6 +660,8 @@ void the_game( server = new Server(map_dir, configpath); server->start(port); } + + { // Client scope /* Create client @@ -2341,8 +2343,11 @@ void the_game( gui_shuttingdowntext->remove();*/ } + } // Client scope (must be destructed before destructing *def and tsrc + delete tooldef; delete tsrc; + delete nodedef; } |