From d15dc50739b195e060d6778826fb391757490612 Mon Sep 17 00:00:00 2001 From: Spoike Date: Mon, 10 Apr 2006 01:12:33 +0000 Subject: [PATCH] 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 --- engine/client/zqtp.c | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/engine/client/zqtp.c b/engine/client/zqtp.c index 30b4fbf0d..34a96b595 100644 --- a/engine/client/zqtp.c +++ b/engine/client/zqtp.c @@ -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);