From 162c87e06fdb02b885982c5f3f903d4ad71b310d Mon Sep 17 00:00:00 2001 From: Richard Allen Date: Wed, 3 Apr 2002 15:51:01 +0000 Subject: [PATCH] Small warning fixes --- reaction/cgame/cg_effects.c | 6 +++++- reaction/game/g_mover.c | 6 +++++- reaction/game/g_spawn.c | 8 ++++++-- reaction/game/g_svcmds.c | 5 ++++- reaction/game/g_teamplay.c | 4 ++++ 5 files changed, 24 insertions(+), 5 deletions(-) diff --git a/reaction/cgame/cg_effects.c b/reaction/cgame/cg_effects.c index 360e2ea7..70c56fc7 100644 --- a/reaction/cgame/cg_effects.c +++ b/reaction/cgame/cg_effects.c @@ -5,6 +5,9 @@ //----------------------------------------------------------------------------- // // $Log$ +// Revision 1.25 2002/04/03 15:51:01 jbravo +// Small warning fixes +// // Revision 1.24 2002/04/03 03:13:48 blaze // NEW BREAKABLE CODE - will break all old breakables(wont appear in maps) // @@ -1220,7 +1223,8 @@ void CG_BreakBreakable( centity_t *cent,int eParam, int number ) { int sparkCount; int i; - int modelbias[10] = { 0, 0, 0, 0, 1, 1, 1, 2, 2 }; +// JBravo: Unused variable +// int modelbias[10] = { 0, 0, 0, 0, 1, 1, 1, 2, 2 }; int id; int count; diff --git a/reaction/game/g_mover.c b/reaction/game/g_mover.c index 0dbd4b4c..1b4484e7 100644 --- a/reaction/game/g_mover.c +++ b/reaction/game/g_mover.c @@ -5,6 +5,9 @@ //----------------------------------------------------------------------------- // // $Log$ +// Revision 1.25 2002/04/03 15:51:01 jbravo +// Small warning fixes +// // Revision 1.24 2002/04/03 03:13:16 blaze // NEW BREAKABLE CODE - will break all old breakables(wont appear in maps) // @@ -2346,4 +2349,5 @@ void SP_func_explosive (gentity_t *ent) trap_LinkEntity( ent ); G_Printf("at : %s %s Material (%d)\n", vtos(ent->r.currentAngles), vtos(ent->r.currentOrigin ), ent->material ); } -*/ \ No newline at end of file +*/ + diff --git a/reaction/game/g_spawn.c b/reaction/game/g_spawn.c index 6e301c68..ae3520f4 100644 --- a/reaction/game/g_spawn.c +++ b/reaction/game/g_spawn.c @@ -5,6 +5,9 @@ //----------------------------------------------------------------------------- // // $Log$ +// Revision 1.15 2002/04/03 15:51:01 jbravo +// Small warning fixes +// // Revision 1.14 2002/04/03 03:13:16 blaze // NEW BREAKABLE CODE - will break all old breakables(wont appear in maps) // @@ -212,7 +215,8 @@ void SP_team_redobelisk( gentity_t *ent ); void SP_team_neutralobelisk( gentity_t *ent ); #endif -void SP_item_botroam( gentity_t *ent ) {}; +// JBravo: SP_item_botroam doesnt really exsist. +//void SP_item_botroam( gentity_t *ent ) {}; //Blaze: merged func_explosive into func_breakable // JBravo: adding explosive @@ -295,7 +299,7 @@ spawn_t spawns[] = { //Blaze: Merged func_explosive into func_breakable // {"func_explosive", SP_func_explosive}, // JBravo: for explosive. - {"item_botroam", SP_item_botroam}, +// {"item_botroam", SP_item_botroam}, {0, 0} }; diff --git a/reaction/game/g_svcmds.c b/reaction/game/g_svcmds.c index 169a60da..8dc4ac55 100644 --- a/reaction/game/g_svcmds.c +++ b/reaction/game/g_svcmds.c @@ -5,6 +5,9 @@ //----------------------------------------------------------------------------- // // $Log$ +// Revision 1.7 2002/04/03 15:51:01 jbravo +// Small warning fixes +// // Revision 1.6 2002/02/26 03:58:19 jbravo // Added a newline to the say messages from the server // @@ -178,7 +181,7 @@ qboolean G_FilterPacket (char *from) AddIP ================= */ -static void AddIP( char *str ) +void AddIP( char *str ) { int i; diff --git a/reaction/game/g_teamplay.c b/reaction/game/g_teamplay.c index a0ce3c03..a813231a 100644 --- a/reaction/game/g_teamplay.c +++ b/reaction/game/g_teamplay.c @@ -5,6 +5,9 @@ //----------------------------------------------------------------------------- // // $Log$ +// Revision 1.57 2002/04/03 15:51:01 jbravo +// Small warning fixes +// // Revision 1.56 2002/04/03 09:26:47 jbravo // New FF system. Warns and then finally kickbans teamwounders and // teamkillers @@ -202,6 +205,7 @@ void ResetKills(gentity_t *ent); void ClearBodyQue (void); void Cmd_DropItem_f(gentity_t *ent); void Cmd_DropWeapon_f(gentity_t *ent); +void AddIP(char *str); void CheckTeamRules() {