persistidents fixes (plz review/test)

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@7213 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
Bukz
2013-02-16 01:43:47 +00:00
parent 7ab718f74e
commit 7480f036d3
31 changed files with 126 additions and 46 deletions
+2 -2
View File
@@ -514,11 +514,11 @@ bool empty_world(int factor, bool force) // main empty world creation routine
if(clearmap)
{
pushscontext(IEXC_MAPCFG);
persistidents = false;
per_idents = false;
neverpersist = true;
execfile("config/default_map_settings.cfg");
neverpersist = false;
persistidents = true;
per_idents = true;
popscontext();
setvar("fullbright", 1);
fullbrightlight();