From 981cd3a5ad124fbaf7489e7f6e94e20eb0de207e Mon Sep 17 00:00:00 2001 From: cypress Date: Thu, 28 Dec 2023 09:59:28 -0500 Subject: [PATCH] CLIENT/SERVER: Properly network that players drop-out to clientside rendering --- source/client/main.qc | 5 +++++ source/server/player.qc | 7 +++++++ 2 files changed, 12 insertions(+) diff --git a/source/client/main.qc b/source/client/main.qc index 8f5a6eb..6ed9fda 100644 --- a/source/client/main.qc +++ b/source/client/main.qc @@ -560,6 +560,11 @@ noref void(float isnew) CSQC_Ent_Update = self.movetype = readshort(); self.flags = readfloat(); self.stance = readbyte(); + + if (self.movetype == MOVETYPE_TOSS) + self.solid = SOLID_NOT; + else + self.solid = SOLID_SLIDEBOX; setmodelindex(self, self.modelindex); if (self.stance == 2) diff --git a/source/server/player.qc b/source/server/player.qc index 5fdb093..186a6f0 100644 --- a/source/server/player.qc +++ b/source/server/player.qc @@ -925,6 +925,13 @@ void() ClientDisconnect = setmodel(self, "models/sprites/null.spr"); GameRestart_ResetPerkaColas(); + +#ifdef FTE + + // Network everything + self.SendFlags = 1; + +#endif // FTE };