fix coins subtracted in event mode
This commit is contained in:
@@ -685,7 +685,7 @@ void GameCommand::ApplySelf( const vector<PlayerNumber> &vpns ) const
|
|||||||
// players joined. If enough players aren't joined, then
|
// players joined. If enough players aren't joined, then
|
||||||
// we need to subtract credits for the sides that will be
|
// we need to subtract credits for the sides that will be
|
||||||
// joined as a result of applying this option.
|
// joined as a result of applying this option.
|
||||||
if( PREFSMAN->m_CoinMode == COIN_MODE_PAY )
|
if( GAMESTATE->GetCoinMode() == COIN_MODE_PAY )
|
||||||
{
|
{
|
||||||
int iNumCreditsRequired = GetCreditsRequiredToPlayStyle(m_pStyle);
|
int iNumCreditsRequired = GetCreditsRequiredToPlayStyle(m_pStyle);
|
||||||
int iNumCreditsPaid = GetNumCreditsPaid();
|
int iNumCreditsPaid = GetNumCreditsPaid();
|
||||||
|
|||||||
Reference in New Issue
Block a user