- Fixed: Bouncing projectiles should not bounce off horizon lines. Now they
vanish instead. - Changed masses of ice chunks and glass shards to make small splashes SVN r231 (trunk)
This commit is contained in:
parent
7ff576adf4
commit
81ee5b4942
5 changed files with 28 additions and 1 deletions
|
|
@ -2441,6 +2441,13 @@ bool P_BounceWall (AActor *mo)
|
|||
line = bestslideline;
|
||||
}
|
||||
|
||||
if (line->special == Line_Horizon)
|
||||
{
|
||||
mo->SeeSound = 0; // it might make a sound otherwise
|
||||
mo->Destroy();
|
||||
return true;
|
||||
}
|
||||
|
||||
side = P_PointOnLineSide (mo->x, mo->y, line);
|
||||
lineangle = R_PointToAngle2 (0, 0, line->dx, line->dy);
|
||||
if (side == 1)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue