From a7adef360b2bb981f2d18a44608d1c253a0e9f5a Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Tue, 4 May 2021 00:11:43 +0200 Subject: [PATCH] - fixed compilation with Clang. --- source/core/g_mapinfo.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/core/g_mapinfo.cpp b/source/core/g_mapinfo.cpp index c2baf5763..60afb7d1b 100644 --- a/source/core/g_mapinfo.cpp +++ b/source/core/g_mapinfo.cpp @@ -713,7 +713,7 @@ CCMD(mapinfo) if (map->designerTime) Printf("\tDesignerTime = %d\n", map->designerTime); for (int i = 0; i < MAX_MESSAGES; i++) { - if (map->messages[i].IsNotEmpty()) Printf("\tMessage = %d, \"%s\"\n", i + 1, map->messages[i]); + if (map->messages[i].IsNotEmpty()) Printf("\tMessage = %d, \"%s\"\n", i + 1, map->messages[i].GetChars()); } for (auto& flagh : MapFlagHandlers)