diff options
author | Solomon Peachy <pizza@shaftnet.org> | 2022-07-11 19:32:34 -0400 |
---|---|---|
committer | Solomon Peachy <pizza@shaftnet.org> | 2022-07-11 19:32:34 -0400 |
commit | 632af4837e67ec9c2cd1b8edd177e6c4ce9f1fb6 (patch) | |
tree | 40c4bfa318c259a2e2159d248fd7a68b360bf00c /apps/plugins/xworld/engine.c | |
parent | 05149cd4dc3896103a58903f635dc42135c53d96 (diff) | |
download | rockbox-632af4837e67ec9c2cd1b8edd177e6c4ce9f1fb6.tar.gz rockbox-632af4837e67ec9c2cd1b8edd177e6c4ce9f1fb6.zip |
xworld: Fix a really old bug that effectively disabled fast movement
(Thank GCC12's -Waddress for catching this)
Change-Id: I5153938ee490fe7976a3c81ea13d87abce2b9eba
Diffstat (limited to 'apps/plugins/xworld/engine.c')
-rw-r--r-- | apps/plugins/xworld/engine.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/xworld/engine.c b/apps/plugins/xworld/engine.c index b09e320078..d99d9df6c6 100644 --- a/apps/plugins/xworld/engine.c +++ b/apps/plugins/xworld/engine.c | |||
@@ -293,7 +293,7 @@ void engine_processInput(struct Engine* e) { | |||
293 | e->sys->input.save = false; | 293 | e->sys->input.save = false; |
294 | } | 294 | } |
295 | if (e->sys->input.fastMode) { | 295 | if (e->sys->input.fastMode) { |
296 | e->vm._fastMode = !&e->vm._fastMode; | 296 | e->vm._fastMode = !e->vm._fastMode; |
297 | e->sys->input.fastMode = false; | 297 | e->sys->input.fastMode = false; |
298 | } | 298 | } |
299 | if (e->sys->input.stateSlot != 0) { | 299 | if (e->sys->input.stateSlot != 0) { |