- Changed P_XYMovement() to not call P_SlideMove() if the act of being
blocked changed the actor's velocity. I'm not entirely happy with this, but it gets push-activated force fields to work. SVN r1875 (trunk)
This commit is contained in:
parent
6a5ab0edc0
commit
2ad438d696
3 changed files with 40 additions and 24 deletions
|
|
@ -2796,7 +2796,9 @@ FUNC(LS_ForceField)
|
|||
if (it != NULL)
|
||||
{
|
||||
P_DamageMobj (it, NULL, NULL, 16, NAME_None);
|
||||
P_ThrustMobj (it, it->angle + ANGLE_180, 0x7D000);
|
||||
angle_t an = (it->angle + ANGLE_180) >> ANGLETOFINESHIFT;
|
||||
it->velx = FixedMul(0x7D000, finecosine[an]);
|
||||
it->vely = FixedMul(0x7D000, finesine[an]);
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue