add TemporaryEventMode flag to GameState

This commit is contained in:
Chris Danford
2005-02-21 17:29:49 +00:00
parent d7bcadccc7
commit a2915c038b
21 changed files with 85 additions and 64 deletions
+2 -2
View File
@@ -193,11 +193,11 @@ bool Screen::JoinInput( const MenuInput &MenuI )
/* subtract coins */
int iCoinsToCharge = 0;
if( PREFSMAN->GetCoinMode() == COIN_PAY )
if( GAMESTATE->GetCoinMode() == COIN_PAY )
iCoinsToCharge = PREFSMAN->m_iCoinsPerCredit;
// If joint premium don't take away a credit for the 2nd join.
if( PREFSMAN->GetPremium() == PREMIUM_JOINT &&
if( GAMESTATE->GetPremium() == PREMIUM_JOINT &&
GAMESTATE->GetNumSidesJoined() == 1 )
iCoinsToCharge = 0;