From d64ef13b795efb64ef3f33dc7ceadecec46b1e2a Mon Sep 17 00:00:00 2001 From: smallmodel <15067410+smallmodel@users.noreply.github.com> Date: Mon, 3 Jun 2024 21:34:48 +0200 Subject: [PATCH] Fixed script_skyorigin never being sent to clients --- code/fgame/scriptslave.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/code/fgame/scriptslave.cpp b/code/fgame/scriptslave.cpp index 90c2b365..71b0f33b 100644 --- a/code/fgame/scriptslave.cpp +++ b/code/fgame/scriptslave.cpp @@ -2113,6 +2113,7 @@ CLASS_DECLARATION(ScriptSlave, ScriptSkyOrigin, "script_skyorigin") { ScriptSkyOrigin::ScriptSkyOrigin() { edict->s.renderfx |= RF_SKYORIGIN; + edict->r.svFlags &= ~SVF_NOCLIENT; setContents(0); setSolidType(SOLID_NOT); }