From 665f8c3b267724b36e40d1862b55cbe211986c4f Mon Sep 17 00:00:00 2001 From: Bryce Hutchings Date: Fri, 19 Jul 2002 04:29:18 +0000 Subject: [PATCH] typo fix --- reaction/game/g_spawn.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/reaction/game/g_spawn.c b/reaction/game/g_spawn.c index 86e1213f..c422b850 100644 --- a/reaction/game/g_spawn.c +++ b/reaction/game/g_spawn.c @@ -5,6 +5,9 @@ //----------------------------------------------------------------------------- // // $Log$ +// Revision 1.37 2002/07/19 04:29:18 niceass +// typo fix +// // Revision 1.36 2002/07/13 22:43:59 makro // Semi-working fog hull, semi-working sky portals (cgame code commented out) // Basically, semi-working stuff :P @@ -394,6 +397,7 @@ qboolean G_CallSpawn(gentity_t * ent) G_Printf("G_CallSpawn: NULL classname\n"); return qfalse; } + //Blaze: allow for Reaction specific spawns to be used //Elder: map Q3DM weapons -> RQ3 weapons if (!strcmp(ent->classname, "weapon_gauntlet")) @@ -446,11 +450,10 @@ qboolean G_CallSpawn(gentity_t * ent) else if (!strcmp(ent->classname, "RQ3weapon_grenade")) ent->classname = "weapon_grenade"; // JBravo: Briefcases - else if (!strcmp(ent->classname, "RQ3case_blaxk")) + else if (!strcmp(ent->classname, "RQ3case_black")) ent->classname = "team_CTF_blueflag"; else if (!strcmp(ent->classname, "RQ3case_silver")) ent->classname = "team_CTF_redflag"; - //Elder: map Q3DM ammo -> RQ3 ammo if (!strcmp(ent->classname, "RQ3ammo_mk23")) ent->classname = "ammo_mk23"; @@ -487,6 +490,7 @@ qboolean G_CallSpawn(gentity_t * ent) } } */ //Makro - new code + for (item = bg_itemlist + 1; item->classname; item++) { if (!strcmp(item->classname, ent->classname)) { //only spawn flags in CTF mode