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(); yax_preparedrawrooms();
drawrooms(tposx,tposy,ud.camera.z,tang,ud.camerahoriz,g_mirrorSector[i]+MAXSECTORS); drawrooms(tposx,tposy,ud.camera.z,tang,ud.camerahoriz,g_mirrorSector[i]+MAXSECTORS);
g_yax_smoothratio = smoothratio; 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 #ifdef USE_OPENGL
else else

View file

@ -2366,7 +2366,7 @@ nullquote:
yax_preparedrawrooms(); yax_preparedrawrooms();
drawrooms(tposx,tposy,z,tang,horiz,g_mirrorSector[i]+MAXSECTORS); drawrooms(tposx,tposy,z,tang,horiz,g_mirrorSector[i]+MAXSECTORS);
g_yax_smoothratio = smoothratio; g_yax_smoothratio = smoothratio;
yax_drawrooms(G_AnalyzeSprites, horiz, g_mirrorSector[i]+MAXSECTORS); yax_drawrooms(G_AnalyzeSprites, horiz, g_mirrorSector[i]);
display_mirror = 1; display_mirror = 1;
G_DoSpriteAnimations(tposx,tposy,tang,smoothratio); G_DoSpriteAnimations(tposx,tposy,tang,smoothratio);