mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2025-03-09 10:51:29 +00:00
Fixes interpolated z for portals (x and y were fixed already)
This commit is contained in:
parent
3cce3ec2ce
commit
a7ae0e8677
1 changed files with 1 additions and 1 deletions
|
@ -1220,7 +1220,7 @@ static void R_PortalFrame(line_t *start, line_t *dest, portal_pair *portal)
|
||||||
dest_c.y = (dest->v1->y + dest->v2->y) / 2;
|
dest_c.y = (dest->v1->y + dest->v2->y) / 2;
|
||||||
|
|
||||||
// Heights!
|
// Heights!
|
||||||
newview->z += dest->frontsector->floorheight - start->frontsector->floorheight;
|
viewz += dest->frontsector->floorheight - start->frontsector->floorheight;
|
||||||
|
|
||||||
// calculate the difference in position and rotation!
|
// calculate the difference in position and rotation!
|
||||||
#ifdef ANGLED_PORTALS
|
#ifdef ANGLED_PORTALS
|
||||||
|
|
Loading…
Reference in a new issue