Substitute more char arrays with strings
This commit is contained in:
@@ -110,12 +110,12 @@ GamePhase GameObserver::getCurrentGamePhase()
|
||||
return mCurrentGamePhase;
|
||||
}
|
||||
|
||||
const char* GameObserver::getCurrentGamePhaseName()
|
||||
const string& GameObserver::getCurrentGamePhaseName()
|
||||
{
|
||||
return phaseRing->phaseName(mCurrentGamePhase);
|
||||
}
|
||||
|
||||
const char* GameObserver::getNextGamePhaseName()
|
||||
const string& GameObserver::getNextGamePhaseName()
|
||||
{
|
||||
return phaseRing->phaseName((mCurrentGamePhase + 1) % MTG_PHASE_CLEANUP);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user