From: LegendaryGuard Date: Sun, 2 May 2021 20:34:24 +0000 (+0200) Subject: Move the functions in the corresponding header X-Git-Tag: xonotic-v0.8.5~420^2 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=bc99fdc754457f902fe9d355a0a285600c331959;p=xonotic%2Fxonotic-data.pk3dir.git Move the functions in the corresponding header --- 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