From 2adfb7e6c05041cfc72ff89076e45b5b90541471 Mon Sep 17 00:00:00 2001 From: Ben Millwood Date: Sat, 3 Oct 2009 12:22:40 +0000 Subject: Removing some unused variables and functions --- src/cgame/cg_tutorial.c | 4 ++-- src/game/g_buildable.c | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/cgame/cg_tutorial.c b/src/cgame/cg_tutorial.c index eb598cf9..3e6d354a 100644 --- a/src/cgame/cg_tutorial.c +++ b/src/cgame/cg_tutorial.c @@ -654,9 +654,9 @@ const char *CG_TutorialText( void ) if( ps->stats[ STAT_TEAM ] == TEAM_ALIENS ) { - entityState_t *es = CG_BuildableInRange( ps, NULL ); + /*entityState_t *es = CG_BuildableInRange( ps, NULL ); - /*if( ps->stats[ STAT_STATE ] & SS_HOVELING ) + if( ps->stats[ STAT_STATE ] & SS_HOVELING ) { Q_strcat( text, MAX_TUTORIAL_TEXT, va( "Press %s to exit the hovel\n", diff --git a/src/game/g_buildable.c b/src/game/g_buildable.c index af3ee8ec..475b1e67 100644 --- a/src/game/g_buildable.c +++ b/src/game/g_buildable.c @@ -1273,6 +1273,7 @@ APropHovel_Blocked Wrapper to test a hovel placement for validity ================ */ +/* static qboolean APropHovel_Blocked( vec3_t origin, vec3_t angles, vec3_t normal, gentity_t *player ) { @@ -1284,6 +1285,7 @@ static qboolean APropHovel_Blocked( vec3_t origin, vec3_t angles, vec3_t normal, return AHovel_Blocked( &hovel, player, qfalse ); } +*/ /* ================ -- cgit