summaryrefslogtreecommitdiff
path: root/src/scene.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/scene.cpp')
-rw-r--r--src/scene.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/scene.cpp b/src/scene.cpp
index 2c47356..6674c7f 100644
--- a/src/scene.cpp
+++ b/src/scene.cpp
@@ -101,7 +101,7 @@ void pke_scene_remove(SceneHandle handle) {
PkeInput_UnregisterSet(scn->input_handles[i]);
}
if (scn->file_path.reserved > 0) {
- pk_delete<char>(scn->file_path.val, scn->file_path.reserved);
+ pk_delete_arr<char>(scn->file_path.val, scn->file_path.reserved);
}
scn->file_path = {};
scn->name[0] = '\0';