Mapster32: fix AWFUL out-of-bounds WRITE with sector highlighting.

How in the name of hell this could pass undetected for so long is a
mystery to me.

git-svn-id: https://svn.eduke32.com/eduke32@2163 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
helixhorned 2011-12-09 19:09:45 +00:00
parent c7aa4592c2
commit a950232046

View file

@ -4456,7 +4456,7 @@ end_yax: ;
// didmakered: 'bad'!
int32_t didmakered = (highlightsectorcnt<0), hadouterpoint=0;
#ifdef YAX_ENABLE
for (i=0; i<MAXSECTORS; i++)
for (i=0; i<MAXSECTORS>>3; i++)
hlorgraysectbitmap[i] = hlsectorbitmap[i]|graysectbitmap[i];
#endif
for (i=0; i<highlightsectorcnt; i++)