mirror of
https://github.com/ZDoom/Raze.git
synced 2025-03-13 20:42:11 +00:00
- Blood: fixed Life Leech no longer gettable after having fired.
This was the direct result of dumb use of two pointers to different parts of the same objects.
This commit is contained in:
parent
dcd006d34b
commit
3e21db19be
1 changed files with 5 additions and 2 deletions
|
@ -5220,10 +5220,13 @@ int MoveMissile(DBloodActor* actor)
|
|||
auto Owner = actor->GetOwner();
|
||||
int cliptype = -1;
|
||||
ESpriteFlags bakCstat = 0;
|
||||
if (Owner && Owner->IsDudeActor())
|
||||
if (Owner)
|
||||
{
|
||||
bakCstat = Owner->spr.cstat;
|
||||
Owner->spr.cstat &= ~CSTAT_SPRITE_BLOCK_ALL;
|
||||
if (Owner->IsDudeActor())
|
||||
{
|
||||
Owner->spr.cstat &= ~CSTAT_SPRITE_BLOCK_ALL;
|
||||
}
|
||||
}
|
||||
gHitInfo.clearObj();
|
||||
if (actor->spr.type == kMissileFlameSpray) actAirDrag(actor, 0x1000);
|
||||
|
|
Loading…
Reference in a new issue