}
#endif
-bool SendAuxiliaryXhair(entity to, int sf)
-{SELFPARAM();
+bool SendAuxiliaryXhair(entity this, entity to, int sf)
+{
WriteByte(MSG_ENTITY, ENT_CLIENT_AUXILIARYXHAIR);
rgb = Team_ColorRGB(self.team);
else
rgb = '1 1 1';
- entity wp = WaypointSprite_Spawn(WP_Vehicle, 0, 0, self, '0 0 64', world, 0, self, waypointsprite_attached, true, RADARICON_POWERUP);
+ entity wp = WaypointSprite_Spawn(WP_Vehicle, 0, 0, self, '0 0 64', world, 0, self, waypointsprite_attached, true, RADARICON_Vehicle);
wp.colormod = rgb;
if(self.waypointsprite_attached)
{
MUTATOR_CALLHOOK(VehicleEnter, pl, veh);
setself(veh);
- CSQCModel_UnlinkEntity();
+ CSQCModel_UnlinkEntity(veh);
Vehicle info = get_vehicleinfo(veh.vehicleid);
info.vr_enter(info);
setself(this);