mirror of
https://github.com/DrBeef/Raze.git
synced 2024-11-15 17:01:51 +00:00
[Blood] Fix self collisions for lifeleech projectiles
This commit is contained in:
parent
958d004119
commit
61cafc7d57
1 changed files with 2 additions and 0 deletions
|
@ -261,6 +261,8 @@ void LifeLeechOperate(DBloodActor* actor, EVENT event)
|
|||
pXSprite->stateTimer = 1;
|
||||
evPostActor(actor, t2, kCallbackLeechStateTimer);
|
||||
pXSprite->data3 = ClipLow(pXSprite->data3-1, 0);
|
||||
if (!VanillaMode()) // disable collisions so lifeleech doesn't do that weird bobbing
|
||||
missile->s().cstat &= ~CSTAT_SPRITE_BLOCK_ALL;
|
||||
}
|
||||
pSprite->ang = angBak;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue