cleanup: Remove Style and use StyleDef everywhere. This gets rid of a lot of Style->StyleDef lookups and discourages code that's specific to a Style. All game logic should be data-driven.
This commit is contained in:
@@ -194,7 +194,7 @@ void ScreenSelectMode::UpdateSelectableChoices()
|
||||
|
||||
// FIXME for new premium prefs
|
||||
const int SidesJoinedToPlay =
|
||||
(mc.m_style == STYLE_INVALID) ?
|
||||
(mc.m_pStyleDef == NULL) ?
|
||||
1 :
|
||||
1;
|
||||
if( PREFSMAN->GetPremium()!=PrefsManager::JOINT_PREMIUM ||
|
||||
|
||||
Reference in New Issue
Block a user