From 617ba439aab5f1798eb02618dfcfbed80a5baf28 Mon Sep 17 00:00:00 2001 From: oroborus Date: Sun, 30 Mar 2008 16:51:15 +0000 Subject: - polozky casovaca sa nachadzaju v zozname list_t , ktory he sucastou arena_t - pri bonuse neviditelnost sa neda podvadzat modifikovanim clienta - o vystreli sa stara server, ich suradnicu a dalsie info posiela server clientom - parametre sa pisu vo forme --env=val git-svn-id: http://opensvn.csie.org/tuxanci_ng@38 0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e --- src/arenaFile.c | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) (limited to 'src/arenaFile.c') diff --git a/src/arenaFile.c b/src/arenaFile.c index 5c89476..fdf80fb 100644 --- a/src/arenaFile.c +++ b/src/arenaFile.c @@ -296,13 +296,7 @@ void initArenaFile() isArenaFileInit = TRUE; listArenaFile = newList(); -#ifndef PUBLIC_SERVER p = loadDirector(PATH_ARENA); -#endif - -#ifdef PUBLIC_SERVER - p = loadDirector(PUBLIC_SERVER_PATH_ARENA); -#endif for( i = 0 ; i < p->list->count ; i++ ) { @@ -314,12 +308,8 @@ void initArenaFile() { char path[STR_PATH_SIZE]; -#ifndef PUBLIC_SERVER sprintf(path, PATH_ARENA "%s", line); -#endif -#ifdef PUBLIC_SERVER - sprintf(path, PUBLIC_SERVER_PATH_ARENA "%s", line); -#endif + printf("load map %s\n", line); addList(listArenaFile, loadTextFile(path)); } -- cgit v1.2.3