]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/vehicles/sv_vehicles.qc
Use STAT(FROZEN, e) instead of e.frozen
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / vehicles / sv_vehicles.qc
index c72c60807c2cdd3cccf9625f67c79216f3d92f1f..6b2f3288145b791a0f8c7ef17f41c3040276d226 100644 (file)
@@ -979,7 +979,7 @@ void vehicles_enter(entity pl, entity veh)
        if((!IS_PLAYER(pl))
        || (veh.phase >= time)
        || (pl.vehicle_enter_delay >= time)
-       || (pl.frozen)
+       || (STAT(FROZEN, pl))
        || (IS_DEAD(pl))
        || (pl.vehicle)
        ) { return; }