diff --git a/source/core/rendering/hw_sections.cpp b/source/core/rendering/hw_sections.cpp index 56a4030cc..df1ee526b 100644 --- a/source/core/rendering/hw_sections.cpp +++ b/source/core/rendering/hw_sections.cpp @@ -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; }