From 632af4837e67ec9c2cd1b8edd177e6c4ce9f1fb6 Mon Sep 17 00:00:00 2001 From: Solomon Peachy Date: Mon, 11 Jul 2022 19:32:34 -0400 Subject: [PATCH] xworld: Fix a really old bug that effectively disabled fast movement (Thank GCC12's -Waddress for catching this) Change-Id: I5153938ee490fe7976a3c81ea13d87abce2b9eba --- apps/plugins/xworld/engine.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { e->sys->input.save = false; } if (e->sys->input.fastMode) { - e->vm._fastMode = !&e->vm._fastMode; + e->vm._fastMode = !e->vm._fastMode; e->sys->input.fastMode = false; } if (e->sys->input.stateSlot != 0) {