- 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:
Christoph Oelckers 2006-06-28 11:14:20 +00:00
commit 81ee5b4942
5 changed files with 28 additions and 1 deletions

View file

@ -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)