Skip to content
Permalink
Browse files

either display granger or adv granger in evo menu

  • Loading branch information
Gireen authored and illwieckz committed Dec 2, 2019
1 parent a91eaf9 commit 429e33a987ac71a79df24e6e3e2ba893bee51ead
Showing with 7 additions and 0 deletions.
  1. +7 −0 src/cgame/cg_rocket_dataformatter.cpp
@@ -390,6 +390,13 @@ static void CG_Rocket_DFCMAlienEvolve( int handle, const char *data )
const char *action = "";
int cost = BG_ClassCanEvolveFromTo( cg.predictedPlayerState.stats[ STAT_CLASS ], alienClass, cg.predictedPlayerState.persistant[ PERS_CREDIT ] );

if ( ( alienClass == PCL_ALIEN_BUILDER0 && ( BG_ClassUnlocked( PCL_ALIEN_BUILDER0_UPG ) && !BG_ClassDisabled( PCL_ALIEN_BUILDER0_UPG ) ) )||
( alienClass == PCL_ALIEN_BUILDER0_UPG && ( !BG_ClassUnlocked( PCL_ALIEN_BUILDER0_UPG ) ) ) )
{
Rocket_DataFormatterFormattedData( handle, "", false );
return;
}

if( cg.predictedPlayerState.stats[ STAT_CLASS ] == alienClass )
{
Class = "active";

0 comments on commit 429e33a

Please sign in to comment.
You can’t perform that action at this time.