From f1e18880377b461c7d8a08ef7b8de4004de6e255 Mon Sep 17 00:00:00 2001 From: driAn Date: Sun, 18 May 2008 10:48:41 +0000 Subject: [PATCH] mapmodelreset on "newmap" git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2031 e016b1c5-ed68-44aa-a2f7-31cac88cffde --- source/src/world.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/src/world.cpp b/source/src/world.cpp index dddaf9fd..6c1d06df 100644 --- a/source/src/world.cpp +++ b/source/src/world.cpp @@ -338,7 +338,9 @@ void empty_world(int factor, bool force) // main empty world creation routine if(factor>=0) { toggleedit(); + pushscontext(IEXC_MAPCFG); execfile("config/default_map_settings.cfg"); + popscontext(); execute("fullbright 1"); } }