Fix buffer overflow at maploader.cpp:392

This commit is contained in:
Brian Koropoff 2021-05-22 13:10:58 -07:00 committed by Christoph Oelckers
parent b899b63843
commit e4e949877d
2 changed files with 2 additions and 2 deletions

View file

@ -146,7 +146,7 @@ struct usermaphack_t
};
extern spriteext_t spriteext[MAXSPRITES];
extern spritesmooth_t spritesmooth[MAXSPRITES];
extern spritesmooth_t spritesmooth[MAXSPRITES + MAXUNIQHUDID];
extern sectortype sector[MAXSECTORS];
extern walltype wall[MAXWALLS];

View file

@ -42,7 +42,7 @@
#endif
spriteext_t spriteext[MAXSPRITES];
spritesmooth_t spritesmooth[MAXSPRITES];
spritesmooth_t spritesmooth[MAXSPRITES + MAXUNIQHUDID];
sectortype sector[MAXSECTORS];
walltype wall[MAXWALLS];