From: Samual Lenks Date: Wed, 27 Feb 2013 07:44:56 +0000 (-0500) Subject: Fix is_dedicated setting (forgot stof) X-Git-Tag: xonotic-v0.7.0~62^2~23^2~84 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=3c4c894625b13c17eaa807b8cf939211aa9f4986;p=xonotic%2Fxonotic-data.pk3dir.git Fix is_dedicated setting (forgot stof) --- diff --git a/qcsrc/server/g_world.qc b/qcsrc/server/g_world.qc index 15dce3d80..cab4d8030 100644 --- a/qcsrc/server/g_world.qc +++ b/qcsrc/server/g_world.qc @@ -597,7 +597,7 @@ void spawnfunc_worldspawn (void) head = nextent(head); } - server_is_dedicated = (cvar_defstring("is_dedicated") ? TRUE : FALSE); + server_is_dedicated = (stof(cvar_defstring("is_dedicated")) ? TRUE : FALSE); // needs to be done so early because of the constants they create CALL_ACCUMULATED_FUNCTION(RegisterWeapons);