mirror of
https://github.com/dashr9230/SA-MP.git
synced 2025-01-03 16:13:34 +08:00
[saco] Implement/match GetDeathWindowFontSize()
This commit is contained in:
parent
c2beca07fd
commit
bdf9abb13d
@ -526,3 +526,15 @@ int GetFontSize()
|
||||
return size + 2 * pConfig->GetIntVariable("fontsize");
|
||||
}
|
||||
|
||||
int GetDeathWindowFontSize()
|
||||
{
|
||||
int size = 14;
|
||||
if (pGame->GetScreenWidth() < 1024)
|
||||
size = 12;
|
||||
|
||||
int fontsize = size + 2 * pConfig->GetIntVariable("fontsize");
|
||||
if(fontsize < size)
|
||||
fontsize = size;
|
||||
return fontsize;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user