From: terencehill Date: Mon, 20 May 2019 17:46:03 +0000 (+0200) Subject: Remove some client stuff from menu code X-Git-Tag: xonotic-v0.8.5~1493 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=524395388e31a20a46517d2ccdcf8a05cf0a3c4a;p=xonotic%2Fxonotic-data.pk3dir.git Remove some client stuff from menu code --- 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