mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-10 23:01:50 +00:00
- fixed: Invalid intermission string references to the string table could cause a crash.
SVN r3301 (trunk)
This commit is contained in:
parent
307050d38d
commit
b5cd69fe4c
1 changed files with 1 additions and 1 deletions
|
@ -291,7 +291,7 @@ void DIntermissionScreenText::Init(FIntermissionAction *desc, bool first)
|
|||
{
|
||||
Super::Init(desc, first);
|
||||
mText = static_cast<FIntermissionActionTextscreen*>(desc)->mText;
|
||||
if (mText[0] == '$') mText = GStrings[&mText[1]];
|
||||
if (mText[0] == '$') mText = GStrings(&mText[1]);
|
||||
mTextSpeed = static_cast<FIntermissionActionTextscreen*>(desc)->mTextSpeed;
|
||||
mTextX = static_cast<FIntermissionActionTextscreen*>(desc)->mTextX;
|
||||
if (mTextX < 0) mTextX =gameinfo.TextScreenX;
|
||||
|
|
Loading…
Reference in a new issue