summaryrefslogtreecommitdiff
path: root/src/cgame/cg_tutorial.c
diff options
context:
space:
mode:
authorM. Kristall <mkpdev@gmail.com>2010-02-25 17:20:18 +0000
committerTim Angus <tim@ngus.net>2013-01-03 00:17:27 +0000
commit56bdec8ad4cf7abfb8688d31625936be74d51642 (patch)
tree8fad0ab1ad49cae5ec736ed4a10f0c1bedcc766c /src/cgame/cg_tutorial.c
parentb32ed763becd063b2fb2cd1221687d88945594c3 (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.c19
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 ) )
{