mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2025-02-23 20:01:20 +00:00
- Fixed crash printing weapon name tags.
This commit is contained in:
parent
a05df40a6e
commit
0ec9af91a9
1 changed files with 1 additions and 1 deletions
|
@ -354,7 +354,7 @@ CCMD (slot)
|
|||
if (players[consoleplayer].playerstate != PST_LIVE) return;
|
||||
if (SendItemUse != players[consoleplayer].ReadyWeapon && (displaynametags & 2) && StatusBar && SmallFont && SendItemUse)
|
||||
{
|
||||
StatusBar->AttachMessage(Create<DHUDMessageFadeOut>(nullptr, SendItemUse->GetTag(),
|
||||
StatusBar->AttachMessage(Create<DHUDMessageFadeOut>(SmallFont, SendItemUse->GetTag(),
|
||||
1.5f, 0.90f, 0, 0, (EColorRange)*nametagcolor, 2.f, 0.35f), MAKE_ID('W', 'E', 'P', 'N'));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue