Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions GeneralsMD/Code/GameEngine/Source/Common/RTS/AcademyStats.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -115,9 +115,9 @@ void AcademyStats::init( const Player *player )
const PlayerTemplate *plyrTemplate = player->getPlayerTemplate();

if( !plyrTemplate ||
plyrTemplate->getBaseSide().compareNoCase( "USA" ) &&
( plyrTemplate->getBaseSide().compareNoCase( "USA" ) &&
plyrTemplate->getBaseSide().compareNoCase( "China" ) &&
plyrTemplate->getBaseSide().compareNoCase( "GLA" ) )
plyrTemplate->getBaseSide().compareNoCase( "GLA" ) ) )
{
//Admittedly, this is a massive violation of data driven design. Shame on me!
//Unknown side... don't provide ANY advice. Simplicity reasons.
Expand Down
Loading