From 524395388e31a20a46517d2ccdcf8a05cf0a3c4a Mon Sep 17 00:00:00 2001 From: terencehill Date: Mon, 20 May 2019 19:46:03 +0200 Subject: [PATCH] Remove some client stuff from menu code --- qcsrc/common/gamemodes/gamemode/onslaught/onslaught.qh | 2 ++ qcsrc/common/turrets/all.qc | 2 ++ qcsrc/common/vehicles/all.qc | 2 ++ qcsrc/common/vehicles/vehicle/bumblebee_weapons.qc | 2 ++ 4 files changed, 8 insertions(+) diff --git a/qcsrc/common/gamemodes/gamemode/onslaught/onslaught.qh b/qcsrc/common/gamemodes/gamemode/onslaught/onslaught.qh index c863e2f71..add678d7b 100644 --- a/qcsrc/common/gamemodes/gamemode/onslaught/onslaught.qh +++ b/qcsrc/common/gamemodes/gamemode/onslaught/onslaught.qh @@ -1,7 +1,9 @@ #pragma once +#ifdef GAMEQC REGISTER_NET_LINKED(ENT_CLIENT_GENERATOR) REGISTER_NET_LINKED(ENT_CLIENT_CONTROLPOINT_ICON) +#endif #ifdef SVQC IntrusiveList g_onsshields; diff --git a/qcsrc/common/turrets/all.qc b/qcsrc/common/turrets/all.qc index 54e63748c..6c7661261 100644 --- a/qcsrc/common/turrets/all.qc +++ b/qcsrc/common/turrets/all.qc @@ -1,3 +1,5 @@ #include "all.qh" +#ifdef GAMEQC REGISTER_NET_LINKED(ENT_CLIENT_TURRET) +#endif diff --git a/qcsrc/common/vehicles/all.qc b/qcsrc/common/vehicles/all.qc index eed249b97..0db15b5b4 100644 --- a/qcsrc/common/vehicles/all.qc +++ b/qcsrc/common/vehicles/all.qc @@ -1,3 +1,5 @@ #include "all.qh" +#ifdef GAMEQC REGISTER_NET_LINKED(ENT_CLIENT_AUXILIARYXHAIR) +#endif diff --git a/qcsrc/common/vehicles/vehicle/bumblebee_weapons.qc b/qcsrc/common/vehicles/vehicle/bumblebee_weapons.qc index 5f4068a7d..9299e938d 100644 --- a/qcsrc/common/vehicles/vehicle/bumblebee_weapons.qc +++ b/qcsrc/common/vehicles/vehicle/bumblebee_weapons.qc @@ -1,6 +1,8 @@ #include "bumblebee_weapons.qh" +#ifdef GAMEQC REGISTER_NET_LINKED(ENT_CLIENT_BUMBLE_RAYGUN) +#endif #ifdef SVQC -- 2.39.2