src/genworld.cpp
branchgamebalance
changeset 9911 0b8b245a2391
parent 9908 0fa543611bbe
child 9625 3301b1b3889c
--- a/src/genworld.cpp	Wed Jun 13 11:17:30 2007 +0000
+++ b/src/genworld.cpp	Wed Jun 13 11:45:14 2007 +0000
@@ -10,6 +10,7 @@
 #include "table/sprites.h"
 #include "variables.h"
 #include "thread.h"
+#include "command.h"
 #include "genworld.h"
 #include "gfx.h"
 #include "gfxinit.h"
@@ -153,6 +154,8 @@
 
 	if (_network_dedicated) DEBUG(net, 0, "Map generated, starting game");
 
+	if (_patches.pause_on_newgame && _game_mode == GM_NORMAL) DoCommandP(0, 1, 0, NULL, CMD_PAUSE);
+
 	return NULL;
 }