diff options
author | M. Kristall <mkpdev@gmail.com> | 2010-02-25 17:20:18 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2013-01-03 00:17:27 +0000 |
commit | 56bdec8ad4cf7abfb8688d31625936be74d51642 (patch) | |
tree | 8fad0ab1ad49cae5ec736ed4a10f0c1bedcc766c /src/cgame/cg_tutorial.c | |
parent | b32ed763becd063b2fb2cd1221687d88945594c3 (diff) |
* Remove hovel
* Require buildable names instead of buildnums in layouts
Diffstat (limited to 'src/cgame/cg_tutorial.c')
-rw-r--r-- | src/cgame/cg_tutorial.c | 19 |
1 files changed, 1 insertions, 18 deletions
diff --git a/src/cgame/cg_tutorial.c b/src/cgame/cg_tutorial.c index 28417f68..1bc4ac8f 100644 --- a/src/cgame/cg_tutorial.c +++ b/src/cgame/cg_tutorial.c @@ -669,24 +669,7 @@ const char *CG_TutorialText( void ) if( ps->stats[ STAT_TEAM ] == TEAM_ALIENS ) { - entityState_t *es = CG_BuildableInRange( ps, NULL ); - - if( ps->stats[ STAT_STATE ] & SS_HOVELING ) - { - Q_strcat( text, MAX_TUTORIAL_TEXT, - va( "Press %s to exit the hovel\n", - CG_KeyNameForCommand( "+button7" ) ) ); - } - else if( es && es->modelindex == BA_A_HOVEL && - ( es->eFlags & EF_B_SPAWNED ) && - ( ps->stats[ STAT_CLASS ] == PCL_ALIEN_BUILDER0 || - ps->stats[ STAT_CLASS ] == PCL_ALIEN_BUILDER0_UPG ) ) - { - Q_strcat( text, MAX_TUTORIAL_TEXT, - va( "Press %s to enter the hovel\n", - CG_KeyNameForCommand( "+button7" ) ) ); - } - else if( BG_AlienCanEvolve( ps->stats[ STAT_CLASS ], + if( BG_AlienCanEvolve( ps->stats[ STAT_CLASS ], ps->persistant[ PERS_CREDIT ], cgs.alienStage ) ) { |