Fixed script_skyorigin never being sent to clients

This commit is contained in:
smallmodel 2024-06-03 21:34:48 +02:00
parent 911e87c6ec
commit d64ef13b79
No known key found for this signature in database
GPG key ID: 9F2D623CEDF08512

View file

@ -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);
}