diff options
-rw-r--r-- | engines/sludge/floor.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/sludge/floor.cpp b/engines/sludge/floor.cpp index 1884b449c8..dff6980c7c 100644 --- a/engines/sludge/floor.cpp +++ b/engines/sludge/floor.cpp @@ -107,13 +107,13 @@ bool initFloor() { void killFloor() { for (int i = 0; i < currentFloor->numPolygons; i++) { delete []currentFloor->polygon[i].vertexID; - delete currentFloor->matrix[i]; + delete []currentFloor->matrix[i]; } - delete currentFloor->polygon; + delete []currentFloor->polygon; currentFloor->polygon = NULL; - delete currentFloor->vertex; + delete []currentFloor->vertex; currentFloor->vertex = NULL; - delete currentFloor->matrix; + delete []currentFloor->matrix; currentFloor->matrix = NULL; } |