Fix up default target selection channel position range

Co-authored-by: sigonasr2 <sigonasr2@gmail.com>
master
sigonasr2 2 years ago
parent 6474c724b9
commit 170179dea4
  1. 8
      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)) {

Loading…
Cancel
Save