Fix automapping not working when looking at the textured map mode

git-svn-id: https://svn.eduke32.com/eduke32@7881 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
terminx 2019-08-04 02:52:10 +00:00 committed by Christoph Oelckers
parent 7553bb043f
commit c5dbbe892c

View file

@ -765,7 +765,7 @@ void G_DrawRooms(int32_t playerNum, int32_t smoothRatio)
VM_OnEvent(EVENT_DISPLAYSTART, pPlayer->i, playerNum); VM_OnEvent(EVENT_DISPLAYSTART, pPlayer->i, playerNum);
if (ud.overhead_on == 2 || ud.show_help || (pPlayer->cursectnum == -1 && videoGetRenderMode() != REND_CLASSIC)) if ((ud.overhead_on == 2 && !automapping) || ud.show_help || (pPlayer->cursectnum == -1 && videoGetRenderMode() != REND_CLASSIC))
return; return;
if (r_usenewaspect) if (r_usenewaspect)