- fixed bad array of arrays access in sector splitting code.

This commit is contained in:
Christoph Oelckers 2021-05-20 00:30:54 +02:00
parent c80c2e7a6c
commit e99567cd70

View file

@ -206,7 +206,7 @@ void hw_SplitSector(int sectnum, int start, int end)
}
if (foundstart && foundend)
{
sectionspersector->Delete(i);
sectionspersector[sectnum].Delete(i);
SplitSection(sect, start, end);
return;
}