Don't draw intro text when hud is disabled
This commit is contained in:
parent
f86ffb48c6
commit
b1506e15d4
@ -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);
|
||||||
|
Reference in New Issue
Block a user