diff --git a/polymer/eduke32/source/game.c b/polymer/eduke32/source/game.c index e623fcbfe..d5d2d909b 100644 --- a/polymer/eduke32/source/game.c +++ b/polymer/eduke32/source/game.c @@ -3567,7 +3567,7 @@ void G_DrawRooms(int32_t snum, int32_t smoothratio) yax_preparedrawrooms(); drawrooms(tposx,tposy,ud.camera.z,tang,ud.camerahoriz,g_mirrorSector[i]+MAXSECTORS); g_yax_smoothratio = smoothratio; - yax_drawrooms(G_AnalyzeSprites, ud.camerahoriz, g_mirrorSector[i]+MAXSECTORS); + yax_drawrooms(G_AnalyzeSprites, ud.camerahoriz, g_mirrorSector[i]); } #ifdef USE_OPENGL else diff --git a/polymer/eduke32/source/gameexec.c b/polymer/eduke32/source/gameexec.c index f9f5148f1..0fdd8224e 100644 --- a/polymer/eduke32/source/gameexec.c +++ b/polymer/eduke32/source/gameexec.c @@ -2366,7 +2366,7 @@ nullquote: yax_preparedrawrooms(); drawrooms(tposx,tposy,z,tang,horiz,g_mirrorSector[i]+MAXSECTORS); g_yax_smoothratio = smoothratio; - yax_drawrooms(G_AnalyzeSprites, horiz, g_mirrorSector[i]+MAXSECTORS); + yax_drawrooms(G_AnalyzeSprites, horiz, g_mirrorSector[i]); display_mirror = 1; G_DoSpriteAnimations(tposx,tposy,tang,smoothratio);