- fix C_SetNotifyFontScale() for RR.

Fixes #264.
This commit is contained in:
Mitchell Richters 2020-08-26 22:33:19 +10:00
parent 5bfd4069ef
commit 62388e30be
3 changed files with 4 additions and 4 deletions

View file

@ -83,7 +83,7 @@ bool C_Responder (event_t *ev);
void C_AddTabCommand (const char *name);
void C_RemoveTabCommand (const char *name);
void C_ClearTabCommands(); // Removes all tab commands
void C_SetNotifyFontScale(int scale);
void C_SetNotifyFontScale(double scale);
extern const char *console_bar;

View file

@ -106,9 +106,9 @@ int ConBottom, ConScroll, RowAdjust;
uint64_t CursorTicker;
constate_e ConsoleState = c_up;
int NotifyFontScale = 1;
double NotifyFontScale = 1;
void C_SetNotifyFontScale(int scale)
void C_SetNotifyFontScale(double scale)
{
NotifyFontScale = scale;
}

View file

@ -317,7 +317,7 @@ static void initTiles()
static void Startup(void)
{
if (isRR()) C_SetNotifyFontScale(2);
if (isRR()) C_SetNotifyFontScale(0.5);
ud.god = 0;
ud.m_respawn_items = 0;
ud.m_respawn_monsters = 0;