X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fcommon%2Fvehicles%2Funit%2Fraptor.qc;h=a1c058fb00ef3015c1402959da2afc723a636427;hb=541c234fd442f5857209128fc7a907e406f4be03;hp=742ef7b9b2a990eac309fe7ec1922c3ecc5b6047;hpb=c0582a52156c4e74e4c5313e5f360275493a8733;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/common/vehicles/unit/raptor.qc b/qcsrc/common/vehicles/unit/raptor.qc index 742ef7b9b..a1c058fb0 100644 --- a/qcsrc/common/vehicles/unit/raptor.qc +++ b/qcsrc/common/vehicles/unit/raptor.qc @@ -789,8 +789,8 @@ float raptor_impulse(float _imp) return false; } -void spawnfunc_vehicle_raptor() -{SELFPARAM(); +spawnfunc(vehicle_raptor) +{ if(!autocvar_g_vehicle_raptor) { remove(self); return; } if(!vehicle_initialize(VEH_RAPTOR, false)) { remove(self); return; } }