From 751f859c7a6a43f3c3c184531834a648de7686b2 Mon Sep 17 00:00:00 2001 From: Rachael Alexanderson Date: Tue, 1 Feb 2022 12:50:51 -0500 Subject: [PATCH] - fix compile on clang --- src/r_data/gldefs.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/r_data/gldefs.cpp b/src/r_data/gldefs.cpp index f062d77c33..cf825fcacf 100644 --- a/src/r_data/gldefs.cpp +++ b/src/r_data/gldefs.cpp @@ -1553,7 +1553,7 @@ class GLDefsParser if (!(cvar->GetFlags() & CVAR_MOD)) { if (!((cvar->GetFlags() & (CVAR_AUTO | CVAR_UNSETTABLE)) == (CVAR_AUTO | CVAR_UNSETTABLE))) - sc.ScriptError("CVAR '%s' already in use!", cvarname); + sc.ScriptError("CVAR '%s' already in use!", cvarname.GetChars()); } UCVarValue val;