- Blood: fixed crash with Gargoyle projectiles.

Thanks, MSVC, for not warning about this... :(
This commit is contained in:
Christoph Oelckers 2021-08-26 08:16:43 +02:00
parent 1fbaeceada
commit 9b061f9829

View file

@ -5858,7 +5858,7 @@ static void actCheckThings()
#ifdef NOONE_EXTENSIONS
case kModernThingThrowableRock:
seqSpawn(24, actor, -1);
if (hit.type = kHitSprite)
if (hit.type == kHitSprite)
{
pSprite->xrepeat = 32;
pSprite->yrepeat = 32;
@ -5868,7 +5868,7 @@ static void actCheckThings()
#endif
case kThingBone:
seqSpawn(24, actor, -1);
if (hit.type = kHitSprite)
if (hit.type == kHitSprite)
{
actDamageSprite(actor->GetOwner(), hit.actor, kDamageFall, 12);
}