From: Mario <mario.mario@y7mail.com>
Date: Mon, 23 Dec 2019 12:17:58 +0000 (+1000)
Subject: Improve performance slightly by not performing cvar_string operations on every cvar... 
X-Git-Tag: xonotic-v0.8.5~1200
X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=e47d799a60ecb19f8a7f2c795849fd86095fcc8e;p=xonotic%2Fxonotic-data.pk3dir.git

Improve performance slightly by not performing cvar_string operations on every cvar() call
---

diff --git a/qcsrc/server/miscfunctions.qh b/qcsrc/server/miscfunctions.qh
index 2374b4869..2b85a0476 100644
--- a/qcsrc/server/miscfunctions.qh
+++ b/qcsrc/server/miscfunctions.qh
@@ -11,7 +11,7 @@
 #include <common/mapinfo.qh>
 #include <common/turrets/all.qh>
 
-#ifdef RELEASE
+#if 1
 #define cvar_string_normal builtin_cvar_string
 #define cvar_normal builtin_cvar
 #else