Engine: Add #ifdef USE_OPENGL forgotten in r5024 that causes an OOB access in scansector() and glitchy mirrors with USE_OPENGL=0.

git-svn-id: https://svn.eduke32.com/eduke32@5917 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
hendricks266 2016-10-29 16:59:21 +00:00
parent b064563a23
commit a25198d913

View file

@ -7977,6 +7977,7 @@ int32_t drawrooms(int32_t daposx, int32_t daposy, int32_t daposz,
return 0;
}
# endif
#endif
// Update starting sector number (common to classic and Polymost).
// ADJUST_GLOBALCURSECTNUM.
@ -7994,6 +7995,7 @@ int32_t drawrooms(int32_t daposx, int32_t daposy, int32_t daposz,
return 0;
}
#ifdef USE_OPENGL
//============================================================================= //POLYMOST BEGINS
polymost_drawrooms();