From bc99fdc754457f902fe9d355a0a285600c331959 Mon Sep 17 00:00:00 2001 From: LegendaryGuard Date: Sun, 2 May 2021 22:34:24 +0200 Subject: [PATCH] Move the functions in the corresponding header --- qcsrc/common/vehicles/cl_vehicles.qh | 3 --- qcsrc/common/vehicles/vehicle/raptor_weapons.qh | 5 +++++ 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/qcsrc/common/vehicles/cl_vehicles.qh b/qcsrc/common/vehicles/cl_vehicles.qh index 76bdc6731..6b1ce3264 100644 --- a/qcsrc/common/vehicles/cl_vehicles.qh +++ b/qcsrc/common/vehicles/cl_vehicles.qh @@ -33,7 +33,4 @@ float alarm2time; vector vehicleHud_Size; vector vehicleHud_Pos; -void RaptorCBShellfragDraw(entity this); -void RaptorCBShellfragToss(vector _org, vector _vel, vector _ang); - #define weapon2mode STAT(VEHICLESTAT_W2MODE) diff --git a/qcsrc/common/vehicles/vehicle/raptor_weapons.qh b/qcsrc/common/vehicles/vehicle/raptor_weapons.qh index c762acfa2..589db7a10 100644 --- a/qcsrc/common/vehicles/vehicle/raptor_weapons.qh +++ b/qcsrc/common/vehicles/vehicle/raptor_weapons.qh @@ -52,3 +52,8 @@ float autocvar_g_vehicle_raptor_flare_lifetime = 10; float autocvar_g_vehicle_raptor_flare_chase = 0.9; float autocvar_g_vehicle_raptor_flare_range = 2000; #endif + +#ifdef CSQC +void RaptorCBShellfragDraw(entity this); +void RaptorCBShellfragToss(vector _org, vector _vel, vector _ang); +#endif -- 2.39.2