1
This commit is contained in:
parent
a05f3cf924
commit
b1c4f5de1f
@ -2074,16 +2074,19 @@ void Human::_InternalUpdateMove(float speed)
|
||||
}
|
||||
}
|
||||
}
|
||||
#if 0
|
||||
if (a8::HasBitFlag(status, CS_Collisioning)) {
|
||||
SetPos(old_pos);
|
||||
return;
|
||||
}
|
||||
#endif
|
||||
|
||||
// 999
|
||||
#if 1
|
||||
#else
|
||||
SetPos(old_pos + a8::Vec2(nx, 0));
|
||||
#endif
|
||||
#if 0
|
||||
if (CheckCollision()) {
|
||||
if (a8::HasBitFlag(status, CS_Collisioning)) {
|
||||
SetPos(old_pos);
|
||||
@ -2097,12 +2100,14 @@ void Human::_InternalUpdateMove(float speed)
|
||||
#endif
|
||||
nx = 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
// 999
|
||||
#if 1
|
||||
#else
|
||||
SetPos(old_pos + a8::Vec2(nx, ny));
|
||||
#endif
|
||||
#if 0
|
||||
if (CheckCollision()) {
|
||||
if (a8::HasBitFlag(status, CS_Collisioning)) {
|
||||
SetPos(old_pos);
|
||||
@ -2116,6 +2121,7 @@ void Human::_InternalUpdateMove(float speed)
|
||||
#endif
|
||||
ny = 0;
|
||||
}
|
||||
#endif
|
||||
// 999
|
||||
#if 1
|
||||
#else
|
||||
|
Loading…
x
Reference in New Issue
Block a user