From 9b061f9829230d20c4e06cac60502facf0851f99 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Thu, 26 Aug 2021 08:16:43 +0200 Subject: [PATCH] - Blood: fixed crash with Gargoyle projectiles. Thanks, MSVC, for not warning about this... :( --- source/games/blood/src/actor.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/games/blood/src/actor.cpp b/source/games/blood/src/actor.cpp index 6937f6fa4..786425833 100644 --- a/source/games/blood/src/actor.cpp +++ b/source/games/blood/src/actor.cpp @@ -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); }