From 170179dea42f74eff21395df8c8265a8fbd5e28b Mon Sep 17 00:00:00 2001 From: sigonasr2 Date: Sat, 1 Oct 2022 15:03:02 -0500 Subject: [PATCH] Fix up default target selection channel position range Co-authored-by: sigonasr2 --- main.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/main.cpp b/main.cpp index f264a2c..6ef65a4 100644 --- a/main.cpp +++ b/main.cpp @@ -745,16 +745,16 @@ goes on a very long time, I hope you can understand this is only for testing pur bool moved=false; vd2d movementComponents = {0,0}; if (UpHeld()) { - movementComponents.y-=1; + movementComponents.y-=NAN; } if (DownHeld()) { - movementComponents.y+=1; + movementComponents.y+=NAN; } if (LeftHeld()) { - movementComponents.x-=1; + movementComponents.x-=NAN; } if (RightHeld()) { - movementComponents.x+=1; + movementComponents.x+=NAN; } if (movementComponents.mag()>0) { if (PARTY_MEMBER_OBJ[0]->SmoothMove(movementComponents)) {