From 12fbbe5e9f002ea57846a54e03d3657efb2a3ecc Mon Sep 17 00:00:00 2001 From: sireus Date: Tue, 12 Apr 2011 22:35:34 +0000 Subject: [PATCH] ...and it should be static as well git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6241 e016b1c5-ed68-44aa-a2f7-31cac88cffde --- source/src/serverfiles.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/src/serverfiles.h b/source/src/serverfiles.h index cdfc98f0..e9d27e61 100644 --- a/source/src/serverfiles.h +++ b/source/src/serverfiles.h @@ -135,7 +135,7 @@ struct servermapbuffer // sending of maps between clients // provide maps by the server enum { MAP_NOTFOUND = 0, MAP_TEMP, MAP_CUSTOM, MAP_LOCAL, MAP_OFFICIAL, MAP_VOID }; -const char * const maplocstr[] = { "not found", "temporary", "custom", "local", "official", "void" }; +static const char * const maplocstr[] = { "not found", "temporary", "custom", "local", "official", "void" }; #define readonlymap(x) ((x) >= MAP_CUSTOM) #define distributablemap(x) ((x) == MAP_TEMP || (x) == MAP_CUSTOM)