self.team = self.owner.team;
self.flags -= FL_NOTARGET;
+#if 0
+ other.clientcamera = self.vehicle_viewport;
+#else
msg_entity = other;
WriteByte (MSG_ONE, SVC_SETVIEWPORT);
WriteEntity(MSG_ONE, self.vehicle_viewport);
WriteAngle(MSG_ONE, self.angles_y); // yaw
WriteAngle(MSG_ONE, 0); // roll
}
+#endif
vehicles_clearrturn();
WriteCoord(MSG_ENTITY, self.avelocity_z);
}
+ /*
if(sf & VSF_STATS)
{
WriteByte(MSG_ENTITY, self.vehicle_health);
WriteByte(MSG_ENTITY, self.vehicle_ammo2);
WriteByte(MSG_ENTITY, self.vehicle_reload2);
}
+ */
if(sf & VSF_EXTRA)
{
self.move_velocity = self.velocity;
self.move_angles = self.angles;
-
}
}