diff options
| author | oroborus <oroborus@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e> | 2008-03-30 16:51:15 +0000 |
|---|---|---|
| committer | oroborus <oroborus@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e> | 2008-03-30 16:51:15 +0000 |
| commit | 617ba439aab5f1798eb02618dfcfbed80a5baf28 (patch) | |
| tree | 13df71c96bd302f066406644f20ddd0e58490ded /src/arenaFile.c | |
| parent | b4db5fe1a7c0145c2437cb2f117a2ae59d4e8025 (diff) | |
- 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
Diffstat (limited to 'src/arenaFile.c')
| -rw-r--r-- | src/arenaFile.c | 12 |
1 files changed, 1 insertions, 11 deletions
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)); } |