- Use isRR() in more places.

This commit is contained in:
Mitchell Richters 2021-07-11 12:38:42 +10:00
parent 6894be4ad1
commit aa13b50504
2 changed files with 2 additions and 2 deletions

View file

@ -628,7 +628,7 @@ void SetDefaultMenuColors()
OptionSettings.mFontColorSelection = CR_DARKGREEN;
gameinfo.mSliderColor = "Green";
}
else if (g_gameType & GAMEFLAG_RRALL)
else if (isRR())
{
OptionSettings.mFontColor = CR_BROWN;
OptionSettings.mFontColorHeader = CR_DARKBROWN;

View file

@ -166,7 +166,7 @@ void drawMapTitle()
double alpha = levelTextTime > 16? 1.0 : levelTextTime / 16.;
if (alpha > 0)
{
double scale = (g_gameType & GAMEFLAG_RRALL)? 0.4 : isSWALL()? 0.7 : 1.0;
double scale = isRR()? 0.4 : isSWALL()? 0.7 : 1.0;
auto text = currentLevel->DisplayName();
auto myfont = PickBigFont(text);
double x = 160 - myfont->StringWidth(text) * scale / 2.;