From 33bd0e942056e207b7dc966c02729389941c0e3e Mon Sep 17 00:00:00 2001 From: Lucas GAUTHERON Date: Sun, 3 Mar 2013 23:39:56 +0000 Subject: [PATCH] newmap and minimap bug fix git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@7293 e016b1c5-ed68-44aa-a2f7-31cac88cffde --- source/src/world.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/source/src/world.cpp b/source/src/world.cpp index 912ef66c..6c1f4bbd 100644 --- a/source/src/world.cpp +++ b/source/src/world.cpp @@ -522,6 +522,12 @@ bool empty_world(int factor, bool force) // main empty world creation routine popscontext(); setvar("fullbright", 1); fullbrightlight(); + + mapdims[0] = mapdims[1] = 0; + mapdims[2] = mapdims[3] = ssize; + mapdims[4] = mapdims[5] = ssize; + mapdims[6] = 0; + mapdims[7] = 16; } if(!copy) {