COIN_ -> COIN_MODE_

This commit is contained in:
Chris Danford
2005-05-20 17:45:44 +00:00
parent b761f6abb0
commit 50717c6ee9
10 changed files with 32 additions and 20 deletions
+3 -3
View File
@@ -253,7 +253,7 @@ int GameState::GetCoinsNeededToJoin() const
{
int iCoinsToCharge = 0;
if( GAMESTATE->GetCoinMode() == COIN_PAY )
if( GAMESTATE->GetCoinMode() == COIN_MODE_PAY )
iCoinsToCharge = PREFSMAN->m_iCoinsPerCredit;
// If joint premium don't take away a credit for the 2nd join.
@@ -1835,8 +1835,8 @@ bool GameState::IsEventMode() const
CoinMode GameState::GetCoinMode()
{
if( IsEventMode() && PREFSMAN->m_CoinMode == COIN_PAY )
return COIN_FREE;
if( IsEventMode() && PREFSMAN->m_CoinMode == COIN_MODE_PAY )
return COIN_MODE_FREE;
else
return PREFSMAN->m_CoinMode;
}