mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-28 15:02:39 +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:
parent
d8bfaf188c
commit
eeaea59828
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue