From 10f0432fdff4712293290ee8ed1bfa24184593a3 Mon Sep 17 00:00:00 2001 From: Ykkrosh Date: Mon, 1 Feb 2010 20:28:48 +0000 Subject: [PATCH] Fix Atlas startup crash with old simulation system This was SVN commit r7299. --- source/tools/atlas/GameInterface/Handlers/MapHandlers.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/tools/atlas/GameInterface/Handlers/MapHandlers.cpp b/source/tools/atlas/GameInterface/Handlers/MapHandlers.cpp index 7c5f55cd06..52aa4200fd 100644 --- a/source/tools/atlas/GameInterface/Handlers/MapHandlers.cpp +++ b/source/tools/atlas/GameInterface/Handlers/MapHandlers.cpp @@ -118,7 +118,8 @@ MESSAGEHANDLER(GenerateMap) delete[] heightmap; - AddDefaultPlayers(); + if (g_UseSimulation2) + AddDefaultPlayers(); // Start the game, load data files - this must be done before initialising // the terrain texture below, since the terrains must be loaded before being