show credits in operator menu
This commit is contained in:
@@ -177,14 +177,13 @@ void ScreenSystemLayer::RefreshCreditsMessages()
|
|||||||
{
|
{
|
||||||
CString sCredits;
|
CString sCredits;
|
||||||
|
|
||||||
if( GAMESTATE->m_bIsOnSystemMenu ) // no mem card
|
bool bShowCreditsMessage =
|
||||||
|
GAMESTATE->m_bIsOnSystemMenu || !GAMESTATE->m_bSideIsJoined[p];
|
||||||
|
|
||||||
|
if( !bShowCreditsMessage )
|
||||||
{
|
{
|
||||||
sCredits = "";
|
MemoryCardState mcs = MEMCARDMAN->GetCardState( p );
|
||||||
}
|
Profile* pProfile = PROFILEMAN->GetProfile( p );
|
||||||
else if( GAMESTATE->m_bSideIsJoined[p] )
|
|
||||||
{
|
|
||||||
MemoryCardState mcs = MEMCARDMAN->GetCardState( (PlayerNumber)p );
|
|
||||||
Profile* pProfile = PROFILEMAN->GetProfile( (PlayerNumber)p );
|
|
||||||
if( pProfile )
|
if( pProfile )
|
||||||
{
|
{
|
||||||
sCredits = pProfile->GetDisplayName();
|
sCredits = pProfile->GetDisplayName();
|
||||||
@@ -213,7 +212,7 @@ void ScreenSystemLayer::RefreshCreditsMessages()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else // bShowCreditsMessage
|
||||||
{
|
{
|
||||||
switch( PREFSMAN->GetCoinMode() )
|
switch( PREFSMAN->GetCoinMode() )
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1294,7 +1294,7 @@ void InsertCoin( int iNum )
|
|||||||
|
|
||||||
void InsertCredit()
|
void InsertCredit()
|
||||||
{
|
{
|
||||||
GAMESTATE->m_iCoins += PREFSMAN->m_iCoinsPerCredit;
|
InsertCoin( PREFSMAN->m_iCoinsPerCredit );
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Returns true if the key has been handled and should be discarded, false if
|
/* Returns true if the key has been handled and should be discarded, false if
|
||||||
|
|||||||
Reference in New Issue
Block a user