[Fixed] Blank HUDMessage: Very Fatal Error

Bugs that have been investigated and resolved somehow.

Moderator: GZDoom Developers

Blank HUDMessage: Very Fatal Error

Postby XxMiltenXx » Fri May 03, 2019 1:36 pm

A bug similar to this was reported and fixed before, however, there it was after a camera change. It's the same thing basically.

Using the given HUDMessage will crash the game: HudMessage(s: ""; HUDMSG_TYPEON, 1, CR_UNTRANSLATED, 160.0, 9.0, 0.0, 0.01, 9999.0);
I know this isn't the way to blank an existing message, however, other mods might've tried it like that too, so I rather report it.

Testable example is attached. Simply load it, start a new game, and the game will crash after a second. Tested with GZDoom 4.1 and gzdoom-x86-g4.2pre-20-gd1554aed3.

Code: Select allExpand view
#library "Bug"
#include "zcommon.acs"

Script 1 ENTER
{
   Delay(35);
   SetHudSize(320, 200, 0);
   
   SetFont("SMALLFONT");
   HudMessage(s: ""; HUDMSG_TYPEON, 1, CR_UNTRANSLATED, 160.0, 9.0, 0.0, 0.01, 9999.0);
}
Attachments
HudMessageBug.pk3
(685 Bytes) Downloaded 9 times
XxMiltenXx
 
Joined: 08 Jan 2014
Location: Germany
Operating System: Windows 10/8.1/8 64-bit
Graphics Processor: nVidia with Vulkan support

Re: Blank HUDMessage: Very Fatal Error

Postby _mental_ » Sat May 04, 2019 3:15 am

Fixed in dbf06fc.
_mental_
 
 
 
Joined: 07 Aug 2011


Return to Closed Bugs

Who is online

Users browsing this forum: Awario [RSS], XxMiltenXx and 2 guests