mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-23 04:11:53 +00:00
Get rid of the mapname macro, which ironically fixes $mapname.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2186 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
d71040af7a
commit
d15dc50739
1 changed files with 0 additions and 10 deletions
|
@ -570,15 +570,6 @@ static char *Macro_LastDeath (void)
|
|||
return tp_name_someplace.string;
|
||||
}
|
||||
|
||||
static char *Macro_Mapname (void)
|
||||
{
|
||||
if (vars.deathtrigger_time)
|
||||
return vars.lastdeathloc;
|
||||
else
|
||||
return tp_name_someplace.string;
|
||||
}
|
||||
|
||||
|
||||
static char *Macro_Last_Location (void)
|
||||
{
|
||||
if (vars.deathtrigger_time && realtime - vars.deathtrigger_time <= 5)
|
||||
|
@ -1182,7 +1173,6 @@ static void TP_InitMacros(void)
|
|||
Cmd_AddMacro("pointloc", Macro_PointLocation, true);
|
||||
Cmd_AddMacro("matchname", Macro_Match_Name, false);
|
||||
Cmd_AddMacro("matchtype", Macro_Match_Type, false);
|
||||
Cmd_AddMacro("mapname", Macro_Mapname, false);
|
||||
|
||||
Cmd_AddMacro("ledpoint", Macro_Point_LED, true);
|
||||
Cmd_AddMacro("ledstatus", Macro_MyStatus_LED, true);
|
||||
|
|
Loading…
Reference in a new issue