0
0
Fork 0
mirror of https://github.com/ZDoom/qzdoom.git synced 2025-04-22 17:52:21 +00:00

- fixed: FTagManager::RemoveSectorTags must check if the StartForSector array is large enough to contain the sector whose information is to be removed.

This commit is contained in:
Christoph Oelckers 2015-07-13 08:42:42 +02:00
parent d8bfaf188c
commit eeaea59828

View file

@ -98,7 +98,7 @@ void FTagManager::AddSectorTag(int sector, int tag)
void FTagManager::RemoveSectorTags(int sect)
{
if (startForSector.Size() > 0)
if (startForSector.Size() > sect)
{
int start = startForSector[sect];
if (start >= 0)