Don't draw intro text when hud is disabled

This commit is contained in:
Doxin 2021-03-18 20:21:53 +01:00 committed by jacob1
parent f86ffb48c6
commit b1506e15d4

View File

@ -2331,7 +2331,7 @@ void GameView::OnDraw()
} }
//Introduction text //Introduction text
if(introText) if(introText && showHud)
{ {
g->fillrect(0, 0, WINDOWW, WINDOWH, 0, 0, 0, introText>51?102:introText*2); g->fillrect(0, 0, WINDOWW, WINDOWH, 0, 0, 0, introText>51?102:introText*2);
g->drawtext(16, 20, introTextMessage, 255, 255, 255, introText>51?255:introText*5); g->drawtext(16, 20, introTextMessage, 255, 255, 255, introText>51?255:introText*5);