Fix two yax_drawrooms() calls with too large sectnums (copy&paste error).

git-svn-id: https://svn.eduke32.com/eduke32@2175 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
helixhorned 2011-12-11 13:26:54 +00:00
parent ba858b3858
commit 44e29613f1
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -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);