mirror of https://github.com/ZDoom/raze-gles.git
- 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:
parent
0cad0b9258
commit
c80831555c
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue