mirror of
https://github.com/ZDoom/Raze.git
synced 2025-05-30 17:01:03 +00:00
- HitBreakSprite
This commit is contained in:
parent
aa13619087
commit
a69a45523f
3 changed files with 18 additions and 25 deletions
|
@ -2591,7 +2591,7 @@ void DriveCrush(PLAYERp pp, int *x, int *y)
|
|||
|
||||
if (testpointinquad(sp->x, sp->y, x, y))
|
||||
{
|
||||
if (TEST(sp->extra, SPRX_BREAKABLE) && HitBreakSprite(actor->GetSpriteIndex(),0))
|
||||
if (TEST(sp->extra, SPRX_BREAKABLE) && HitBreakSprite(actor, 0))
|
||||
continue;
|
||||
|
||||
if (sp->statnum == STAT_MISSILE)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue