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: http://de.git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=commitdiff_plain;h=524395388e31a20a46517d2ccdcf8a05cf0a3c4a 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 c863e2f71f..add678d7b3 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 54e63748c3..6c76612618 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 eed249b978..0db15b5b48 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 5f4068a7d2..9299e938d0 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