From 72a3257400ecf009cfc64bc0baf0e4b42c4fed86 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Wed, 25 May 2016 01:45:55 +0200 Subject: [PATCH] - fixed: DIntermissionScreen::Init did not handle non-existent strings in the string table and crashed on a NULL pointer. --- src/intermission/intermission.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/intermission/intermission.cpp b/src/intermission/intermission.cpp index 5b78ebc51..ba4566e9d 100644 --- a/src/intermission/intermission.cpp +++ b/src/intermission/intermission.cpp @@ -109,7 +109,7 @@ void DIntermissionScreen::Init(FIntermissionAction *desc, bool first) } else if (*texname == '$') { - texname = GStrings[texname+1]; + texname = GStrings(texname+1); } if (texname[0] != 0) {