- fixed: DIntermissionScreen::Init did not handle non-existent strings in the string table and crashed on a NULL pointer.

This commit is contained in:
Christoph Oelckers 2016-05-25 01:45:55 +02:00
parent 49234b1fc3
commit 72a3257400

View file

@ -109,7 +109,7 @@ void DIntermissionScreen::Init(FIntermissionAction *desc, bool first)
} }
else if (*texname == '$') else if (*texname == '$')
{ {
texname = GStrings[texname+1]; texname = GStrings(texname+1);
} }
if (texname[0] != 0) if (texname[0] != 0)
{ {