mirror of
https://github.com/ZDoom/gzdoom-last-svn.git
synced 2025-06-03 02:30:53 +00:00
* Updated to ZDoom r3188:
- Fixed: PIT_CheckLine() always called CheckForPushSpecial() with the front of the line, even if the actor was hitting it from the back. git-svn-id: http://mancubus.net/svn/hosted/gzdoom/trunk@1209 b0f79afe-0144-0410-b225-9a4edf0717df
This commit is contained in:
parent
a55656cc69
commit
4395e8e5a0
2 changed files with 4 additions and 3 deletions
|
@ -655,7 +655,8 @@ bool PIT_CheckLine (line_t *ld, const FBoundingBox &box, FCheckPosition &tm)
|
|||
P_DamageMobj (tm.thing, NULL, NULL, tm.thing->Mass >> 5, NAME_Melee);
|
||||
}
|
||||
tm.thing->BlockingLine = ld;
|
||||
CheckForPushSpecial (ld, 0, tm.thing);
|
||||
// Calculate line side based on the actor's original position, not the new one.
|
||||
CheckForPushSpecial (ld, P_PointOnLineSide(tm.thing->x, tm.thing->y, ld), tm.thing);
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue