generated from sigonasr2/CPlusPlusProjectTemplate
Fix up default target selection channel position range
Co-authored-by: sigonasr2 <sigonasr2@gmail.com>
This commit is contained in:
parent
6474c724b9
commit
170179dea4
8
main.cpp
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;
|
bool moved=false;
|
||||||
vd2d movementComponents = {0,0};
|
vd2d movementComponents = {0,0};
|
||||||
if (UpHeld()) {
|
if (UpHeld()) {
|
||||||
movementComponents.y-=1;
|
movementComponents.y-=NAN;
|
||||||
}
|
}
|
||||||
if (DownHeld()) {
|
if (DownHeld()) {
|
||||||
movementComponents.y+=1;
|
movementComponents.y+=NAN;
|
||||||
}
|
}
|
||||||
if (LeftHeld()) {
|
if (LeftHeld()) {
|
||||||
movementComponents.x-=1;
|
movementComponents.x-=NAN;
|
||||||
}
|
}
|
||||||
if (RightHeld()) {
|
if (RightHeld()) {
|
||||||
movementComponents.x+=1;
|
movementComponents.x+=NAN;
|
||||||
}
|
}
|
||||||
if (movementComponents.mag()>0) {
|
if (movementComponents.mag()>0) {
|
||||||
if (PARTY_MEMBER_OBJ[0]->SmoothMove(movementComponents)) {
|
if (PARTY_MEMBER_OBJ[0]->SmoothMove(movementComponents)) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user