r3096 - trunk/data/qcsrc/common

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Fri Jan 4 01:21:45 EST 2008


Author: div0
Date: 2008-01-04 01:21:45 -0500 (Fri, 04 Jan 2008)
New Revision: 3096

Modified:
   trunk/data/qcsrc/common/mapinfo.qc
Log:
remove unnecessary strcat


Modified: trunk/data/qcsrc/common/mapinfo.qc
===================================================================
--- trunk/data/qcsrc/common/mapinfo.qc	2008-01-03 19:41:33 UTC (rev 3095)
+++ trunk/data/qcsrc/common/mapinfo.qc	2008-01-04 06:21:45 UTC (rev 3096)
@@ -580,7 +580,7 @@
 		print("EMERGENCY: can't play the selected map in the given game mode. Falling back to deathmatch.\n");
 		MapInfo_SwitchGameType(MAPINFO_TYPE_DEATHMATCH);
 	}
-	localcmd(strcat("\nsettemp_restore\n"));
+	localcmd("\nsettemp_restore\n");
 	MapInfo_Get_ByName(s, 1, MapInfo_CurrentGametype());
 	localcmd(strcat("\nchangelevel ", s, "\n"));
 }




More information about the nexuiz-commits mailing list