- Blood: fixed broken missile collision checks.

Curse that stupid bit masking madness in clipmove. As long as this code isn't properly abstracted, we still need to handle it on the game side.
This commit is contained in:
Christoph Oelckers 2021-08-25 08:47:40 +02:00
parent 0cad0b9258
commit c80831555c

View file

@ -5406,7 +5406,7 @@ int MoveMissile(DBloodActor* actor)
} }
if (clipmoveresult.type == kHitSprite) if (clipmoveresult.type == kHitSprite)
{ {
gHitInfo.hitsprite = clipmoveresult.legacyVal; gHitInfo.hitsprite = clipmoveresult.legacyVal & kHitIndexMask;
cliptype = 3; cliptype = 3;
} }
else if (clipmoveresult.type == kHitWall) else if (clipmoveresult.type == kHitWall)