Tested with Devbuild gzdoom-x64-g3.8pre-428-g32e65ff11, posted Feb 17 2019 12:05:35
http://edthebat.com/doom/hudmsgtest.wad
Calling HUDMessage in ACS with a blank string (e.g. HUDMessage(S:""...);) after calling ChangeCamera will cause a Very Fatal Error.
Blank HUDMessage after ChangeCamera: Very Fatal Error
Moderator: GZDoom Developers
Forum rules
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
- Graf Zahl
- Lead GZDoom+Raze Developer
- Posts: 49252
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: Blank HUDMessage after ChangeCamera: Very Fatal Error
Fixed. But using a typed on message with empty strings is not the smartest thing to do, all I can do here is just abort it right away.
Re: Blank HUDMessage after ChangeCamera: Very Fatal Error
Understood, So, to blank an existing message, should I just use PLAIN instead? Or is there a better way?
- Graf Zahl
- Lead GZDoom+Raze Developer
- Posts: 49252
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: Blank HUDMessage after ChangeCamera: Very Fatal Error
Plain will do.