diff options
| author | Jonathan Bradley <jcb@pikum.xyz> | 2025-12-03 11:21:17 -0500 |
|---|---|---|
| committer | Jonathan Bradley <jcb@pikum.xyz> | 2025-12-03 11:21:17 -0500 |
| commit | a7409287a4bd24736b2e89f657cff5416625c0ab (patch) | |
| tree | 872d039449a6330401ef887c1e0202f4118e04b1 | |
| parent | c9164f7af0661fae28772200992436cd27e4f93b (diff) | |
pke: player-input detect active set on deactivate
| -rw-r--r-- | src/player-input.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/player-input.cpp b/src/player-input.cpp index 6eb157c..811fb3e 100644 --- a/src/player-input.cpp +++ b/src/player-input.cpp @@ -639,7 +639,7 @@ void pke_input_deactivate_set(pke_input_action_set_handle handle) { break; } } - if (index != -1) { + if (index == -1) { fprintf(stderr, "[pke_input] Attempt to deactivate a non-active set.\n"); return; } |
