void antilag_record(entity e, float t)
{
+ if (e.vehicle && e.vehicle.vehicle_flags == VHF_PLAYERSLOT)
+ return;
+
if(e.vehicle)
antilag_record(e.vehicle, t);
void antilag_takeback(entity e, float t)
{
+
+ if (e.vehicle && e.vehicle.vehicle_flags == VHF_PLAYERSLOT)
+ return;
+
if(e.vehicle)
antilag_takeback(e.vehicle, t);
void antilag_restore(entity e)
{
+ if (e.vehicle && e.vehicle.vehicle_flags == VHF_PLAYERSLOT)
+ return;
+
if(e.vehicle)
antilag_restore(e.vehicle);
for(i = 0; i < ANTILAG_MAX_ORIGINS; ++i)
{
e.(antilag_times[i]) = -2342;
- e.(antilag_origins[i]) = self.origin;
+ e.(antilag_origins[i]) = e.origin;
}
e.antilag_index = ANTILAG_MAX_ORIGINS - 1; // next one is 0
}