mirror of
https://github.com/ZDoom/Raze.git
synced 2025-05-30 17:01:03 +00:00
- DoActorBeginSlide
This commit is contained in:
parent
ad0ed0c377
commit
9e438b4042
4 changed files with 9 additions and 9 deletions
|
@ -2639,7 +2639,7 @@ DriveCrush(PLAYERp pp, int *x, int *y)
|
|||
int32_t const vel = FindDistance2D(pp->xvect>>8, pp->yvect>>8);
|
||||
if (vel < 9000)
|
||||
{
|
||||
DoActorBeginSlide(i, getangle(pp->xvect, pp->yvect), vel/8, 5);
|
||||
DoActorBeginSlide(actor, getangle(pp->xvect, pp->yvect), vel/8, 5);
|
||||
if (DoActorSlide(actor))
|
||||
continue;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue