diff --git a/src/game/hudmsg.c b/src/game/hudmsg.c index fe0b6cfbf..650906509 100644 --- a/src/game/hudmsg.c +++ b/src/game/hudmsg.c @@ -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);