- cleanup of collision maintenance.

u->ret is gone, and for clearing the collision info the proper utilities are being called now.
This commit is contained in:
Christoph Oelckers 2021-11-05 21:12:01 +01:00
parent 5f32bc17ef
commit 606ce997ac
7 changed files with 47 additions and 68 deletions

View file

@ -2692,7 +2692,7 @@ void DoPlayerMoveVehicle(PLAYERp pp)
else if (hitinfo.sprite >= 0)
SetCollision(u, hitinfo.sprite|HIT_SPRITE);
else
SetCollision(u, 0);
u->coll.setNone();
VehicleMoveHit(actor);
}