From eb8d5fd1bb8e1b6faf512606b45287a4bd607374 Mon Sep 17 00:00:00 2001 From: Roman Tetelman Date: Sat, 3 Oct 2009 12:23:21 +0000 Subject: * redo hovel removal in a way that doesn't break log parsers (reported by msk) --- src/cgame/cg_tutorial.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/cgame') diff --git a/src/cgame/cg_tutorial.c b/src/cgame/cg_tutorial.c index 3e6d354a..2dd5a5a2 100644 --- a/src/cgame/cg_tutorial.c +++ b/src/cgame/cg_tutorial.c @@ -654,7 +654,7 @@ 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 ) { @@ -671,8 +671,7 @@ const char *CG_TutorialText( void ) va( "Press %s to enter the hovel\n", CG_KeyNameForCommand( "+button7" ) ) ); } - else*/ - if( BG_AlienCanEvolve( ps->stats[ STAT_CLASS ], + else if( BG_AlienCanEvolve( ps->stats[ STAT_CLASS ], ps->persistant[ PERS_CREDIT ], cgs.alienStage ) ) { -- cgit