mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-27 04:00:42 +00:00
- 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
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue