make old HUD code work with 8 px font size
This commit is contained in:
parent
bd9ec88355
commit
a6c8610682
1 changed files with 2 additions and 1 deletions
|
@ -323,6 +323,7 @@ public:
|
|||
c++;
|
||||
i++;
|
||||
}
|
||||
float orig_size = fnt->getPointSize();
|
||||
if (c>p) {
|
||||
fnt->setPointSize(HUD_TextSize * 0.8);
|
||||
int p1=c-3;
|
||||
|
@ -344,9 +345,9 @@ public:
|
|||
fnt->start2f( x, y );
|
||||
fnt->puts(tmp);
|
||||
}
|
||||
fnt->setPointSize(orig_size);
|
||||
} else {
|
||||
//if digits not equal to 1
|
||||
fnt->setPointSize(HUD_TextSize * 0.8);
|
||||
fnt->start2f( x, y );
|
||||
fnt->puts( msg ) ;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue