From 3fadfec77d58d41b8aab7cbcabbe17182f1b4ccb Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Sat, 28 Nov 2015 00:43:39 +0100 Subject: [PATCH] - fixed typo in SendToCommunicator enhancement. --- src/p_lnspec.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/p_lnspec.cpp b/src/p_lnspec.cpp index 35b0300ef..26e736cb5 100644 --- a/src/p_lnspec.cpp +++ b/src/p_lnspec.cpp @@ -2991,7 +2991,7 @@ FUNC(LS_SendToCommunicator) FString msg; msg.Format("TXT_COMM%d", arg2); const char *str = GStrings[msg]; - if (msg != NULL) + if (str != NULL) { Printf (PRINT_CHAT, "%s\n", str); }