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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user