patch submitted by Ryan Dwyer
This commit is contained in:
fgsfds committed 2023-11-12 13:56:50 +01:00
1 parent cd19c07810
commit eecee9d940
1 file changed
+6 -2
+6 -2
View File
@@ -1515,7 +1515,9 @@ Gfx *hudmsgsRender(Gfx *gdl)
gdl = hudmsgRenderBox(gdl, x - 3, y - 3, x + msg->width + 2, y + msg->height + 2, 1.0f, bordercolour, spc0);
#endif
gdl = textRenderProjected(gdl, &x, &y, msg->text, msg->font1, msg->font2, textcolour, viGetWidth(), viGetHeight(), 0, 0);
if (spc0 > 0) {
gdl = textRenderProjected(gdl, &x, &y, msg->text, msg->font1, msg->font2, textcolour, viGetWidth(), viGetHeight(), 0, 0);
}
} else {
gdl = text0f153a34(gdl, x, y, x + msg->width, y + msg->height, 0);
@@ -1597,7 +1599,9 @@ Gfx *hudmsgsRender(Gfx *gdl)
gdl = hudmsgRenderBox(gdl, x - 3, y - 3, x + msg->width + 2, y + msg->height + 2, 1.0f, bordercolour, 1.0f - spa8);
#endif
gdl = textRenderProjected(gdl, &x, &y, msg->text, msg->font1, msg->font2, textcolour, viGetWidth(), viGetHeight(), 0, 0);
if (spa8 < 1.0f) {
gdl = textRenderProjected(gdl, &x, &y, msg->text, msg->font1, msg->font2, textcolour, viGetWidth(), viGetHeight(), 0, 0);
}
} else {
gdl = text0f153a34(gdl, x, y, x + msg->width, y + msg->height, 0);