fix 'curmap'; remove 'mapname'

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@4429 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
ac_stef
2009-05-23 13:02:57 +00:00
parent 7b893f9f8f
commit 5cdcb1a080
+1 -8
View File
@@ -33,9 +33,6 @@ extern int framesinmap;
char *getclientmap() { return clientmap; }
void mapname() { result(getclientmap()); }
COMMAND(mapname, ARG_NONE);
extern bool c2sinit, sendmapidenttoserver;
void setskin(playerent *pl, uint skin)
@@ -145,11 +142,7 @@ VARNP(skin, nextskin, 0, 0, 1000);
int curteam() { return team_int(player1->team); }
int currole() { return player1->clientrole; }
int curmode() { return gamemode; }
void curmap(int cleaned)
{
extern string smapname;
result(cleaned ? behindpath(smapname) : smapname);
}
void curmap(int cleaned) { result(cleaned ? behindpath(getclientmap()) : getclientmap()); }
COMMANDN(team, newteam, ARG_1STR);
COMMANDN(name, newname, ARG_1STR);