mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2024-12-26 20:31:30 +00:00
Splitscreen fix: half of GFZ1's invinc monitor should no longer appear above the bridge for player 2
I don't know if there's any other vid.height/viewheight confusion like this around, but that was the cause apparently
This commit is contained in:
parent
b9eed02123
commit
7830a9e27b
1 changed files with 1 additions and 1 deletions
|
@ -964,7 +964,7 @@ static void R_SplitSprite(vissprite_t *sprite, mobj_t *thing)
|
|||
cutfrac = (INT16)((centeryfrac - FixedMul(testheight - viewz, sprite->scale))>>FRACBITS);
|
||||
if (cutfrac < 0)
|
||||
continue;
|
||||
if (cutfrac > vid.height)
|
||||
if (cutfrac > viewheight)
|
||||
return;
|
||||
|
||||
// Found a split! Make a new sprite, copy the old sprite to it, and
|
||||
|
|
Loading…
Reference in a new issue