From 08504dcbe235415a4243e8c76f26ed54b0255a04 Mon Sep 17 00:00:00 2001 From: FishyClockwork Date: Fri, 14 Oct 2016 15:17:19 +0200 Subject: [PATCH] Added a small check just in case... --- src/p_conversation.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/p_conversation.cpp b/src/p_conversation.cpp index 31fa25030d..1762ae98e5 100644 --- a/src/p_conversation.cpp +++ b/src/p_conversation.cpp @@ -763,6 +763,7 @@ public: else if (goodbyestr[0] == '$') { goodbyestr = GStrings(goodbyestr + 1); + if (goodbyestr == nullptr) goodbyestr = "Bye."; } mResponses.Push(mResponseLines.Size()); mResponseLines.Push(FString(goodbyestr));