X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fcommon%2Fvehicles%2Fvehicle.qh;h=1578e0a7d549832e8aa33f548dabd213c49b50d9;hb=67db56b06d6333621dc19ba3b8dcf8976f5acfbb;hp=927465ea6b933ee0d98cf4bbdffc553567d56f7d;hpb=c6ebaefab2aca7df4648dac3ccdd4b52de45d0ed;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/common/vehicles/vehicle.qh b/qcsrc/common/vehicles/vehicle.qh index 927465ea6..1578e0a7d 100644 --- a/qcsrc/common/vehicles/vehicle.qh +++ b/qcsrc/common/vehicles/vehicle.qh @@ -1,5 +1,4 @@ -#ifndef VEHICLE_H -#define VEHICLE_H +#pragma once CLASS(Vehicle, Object) ATTRIB(Vehicle, vehicleid, int, 0) @@ -24,7 +23,7 @@ CLASS(Vehicle, Object) /** cockpit model tag */ ATTRIB(Vehicle, tag_view, string, string_null) /** player physics mod */ - ATTRIB(Vehicle, PlayerPhysplug, bool(entity), func_null) + ATTRIB(Vehicle, PlayerPhysplug, bool(entity,float), func_null) /** */ ATTRIB(Vehicle, spawnflags, int, 0) /** vehicle hitbox size */ @@ -76,5 +75,3 @@ const int VHF_PLAYERSLOT = BIT(14); /// This ent is a player slot on a multi-pe // fields: .entity tur_head; - -#endif