From af601adcc028521d2cf6d0ebfe1acd52bc6b23b7 Mon Sep 17 00:00:00 2001 From: "Alejandro V. Garcia" Date: Tue, 10 Aug 2010 09:12:27 +0000 Subject: [PATCH] moved mapdims location git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5596 e016b1c5-ed68-44aa-a2f7-31cac88cffde --- source/src/clientgame.cpp | 1 - source/src/worldio.cpp | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/source/src/clientgame.cpp b/source/src/clientgame.cpp index a2183317..84d87102 100644 --- a/source/src/clientgame.cpp +++ b/source/src/clientgame.cpp @@ -4,7 +4,6 @@ #include "bot/bot.h" int nextmode = 0; // nextmode becomes gamemode after next map load -int mapdims[6]; // min/max X/Y and delta X/Y VAR(gamemode, 1, 0, 0); VARP(modeacronyms, 0, 1, 1); diff --git a/source/src/worldio.cpp b/source/src/worldio.cpp index 20979cbb..1146c123 100644 --- a/source/src/worldio.cpp +++ b/source/src/worldio.cpp @@ -459,6 +459,7 @@ void save_world(char *mname) conoutf("wrote map file %s", cgzname); } +int mapdims[6]; // min/max X/Y and delta X/Y void showmapdims() { conoutf(" min X|Y: %3d : %3d", mapdims[0], mapdims[1]);