X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=blobdiff_plain;f=qcsrc%2Fclient%2Fmain.qc;h=231dd68675acad0de2fb31691948b57f5fdb0fb5;hp=87027c3461e376421c38bbe949927626d4c75d0f;hb=ae2c1407ec9a05e4f501a6604a7cce8e1030df9f;hpb=8b38ad6987192a2129a7aa55410fd6d729425a28 diff --git a/qcsrc/client/main.qc b/qcsrc/client/main.qc index 87027c3461..231dd68675 100644 --- a/qcsrc/client/main.qc +++ b/qcsrc/client/main.qc @@ -23,8 +23,9 @@ #include "wall.qh" #include "waypointsprites.qh" -#include "vehicles/bumblebee.qh" -#include "vehicles/all.qh" +#include "../common/vehicles/unit/bumblebee.qh" +#include "../common/vehicles/cl_vehicles.qh" +#include "../common/vehicles/vehicles.qh" #include "weapons/projectile.qh" @@ -148,6 +149,7 @@ void CSQC_Init(void) CALL_ACCUMULATED_FUNCTION(RegisterDeathtypes); CALL_ACCUMULATED_FUNCTION(RegisterHUD_Panels); CALL_ACCUMULATED_FUNCTION(RegisterEffects); + CALL_ACCUMULATED_FUNCTION(RegisterVehicles); WaypointSprite_Load(); @@ -160,7 +162,6 @@ void CSQC_Init(void) Hook_Precache(); GibSplash_Precache(); Casings_Precache(); - Vehicles_Precache(); turrets_precache(); Tuba_Precache(); CSQCPlayer_Precache();