summaryrefslogtreecommitdiff
path: root/src/player-input.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/player-input.cpp')
-rw-r--r--src/player-input.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/player-input.cpp b/src/player-input.cpp
index 252d706..2274e70 100644
--- a/src/player-input.cpp
+++ b/src/player-input.cpp
@@ -676,7 +676,7 @@ void PkeInput_UnregisterSet(InputActionSetHandle handle) {
if (pk_arr_find_first_index(&activeInputSetStack, &handle, PkeInput_pke_arr_find_first_handle) != uint32_t(-1)) {
PkeInput_DeactivateSet(handle);
}
- pk_delete<PkeInputAction>(set.actions, set.actionCount);
+ pk_delete_arr<PkeInputAction>(set.actions, set.actionCount);
pk_arr_remove_at(&registeredInputSets, index);
}