From dc87cba52101aa4c6ad94c652460bff8520231bd Mon Sep 17 00:00:00 2001 From: Paweł Redman Date: Mon, 22 Jun 2015 01:02:01 +0200 Subject: Remove Advanced Dretch. --- src/cgame/cg_draw.c | 7 ------- src/cgame/cg_event.c | 3 --- src/cgame/cg_main.c | 1 - 3 files changed, 11 deletions(-) (limited to 'src/cgame') diff --git a/src/cgame/cg_draw.c b/src/cgame/cg_draw.c index 91cea14..fb5741d 100644 --- a/src/cgame/cg_draw.c +++ b/src/cgame/cg_draw.c @@ -1118,8 +1118,6 @@ static void CG_DrawPlayerHealthCross( rectDef_t *rect, vec4_t ref_color ) } else if( cg.snap->ps.stats[ STAT_STATE ] & SS_POISONED ) shader = cgs.media.healthCrossPoisoned; - else if( cg.snap->ps.stats[ STAT_STATE ] & SS_INFECTED ) - shader = cgs.media.healthCrossPoisoned; // Pick the alpha value Vector4Copy( ref_color, color ); @@ -1177,11 +1175,6 @@ static float CG_ChargeProgress( void ) min = LEVEL5_POUNCE_TIME_MIN; max = LEVEL5_POUNCE_TIME; } - if( cg.snap->ps.weapon == WP_ALEVEL0_UPG ) - { - min = LEVEL0_DRILL_TIME_MIN; - max = LEVEL0_DRILL_TIME; - } else if( cg.snap->ps.weapon == WP_ALEVEL3 ) { min = LEVEL3_POUNCE_TIME_MIN; diff --git a/src/cgame/cg_event.c b/src/cgame/cg_event.c index 1001f46..5b159a6 100644 --- a/src/cgame/cg_event.c +++ b/src/cgame/cg_event.c @@ -462,9 +462,6 @@ static void CG_Obituary( entityState_t *ent ) message = "^5should have used a medkit against^7"; message2 = "^5's poison"; break; - case MOD_INFECTION: - message = "^5got infected by^7"; - break; case MOD_LEVEL1_PCLOUD: message = "^5was gassed by^7"; Com_sprintf( className, 64, "^5's %s", diff --git a/src/cgame/cg_main.c b/src/cgame/cg_main.c index 2f78110..bd758e6 100644 --- a/src/cgame/cg_main.c +++ b/src/cgame/cg_main.c @@ -1614,7 +1614,6 @@ static const char *CG_FeederItemText( int feederID, int index, int column, qhand { switch( sp->weapon ) { - case WP_ALEVEL0_UPG: case WP_ALEVEL1_UPG: case WP_ALEVEL2_UPG: case WP_ALEVEL3_UPG: -- cgit