ensure that GetCreditsMessage returns a value

The unhandled case: in Free Play mode and players can't join.  Can this
even happen?
This commit is contained in:
Devin J. Pohly
2014-02-08 19:45:33 -05:00
parent 57a142b76f
commit 3322fa9144
+3
View File
@@ -119,8 +119,11 @@ namespace
default: // CoinMode_Free
if( GAMESTATE->PlayersCanJoin() )
return CREDITS_FREE_PLAY.GetValue();
// TODO: What should be displayed if players
// can't join in free mode?
}
}
return RString();
}
};