1
This commit is contained in:
parent
0b01bef8cc
commit
fd2a513a36
@ -4197,7 +4197,7 @@ void Human::OnLand()
|
||||
dirs.push_back(a8::Vec2::LEFT);
|
||||
dirs.push_back(a8::Vec2::RIGHT);
|
||||
}
|
||||
for (int i = 0; i < 10000000; i += 5) {
|
||||
for (int i = 0; i < 10000000; i += 10) {
|
||||
for (const a8::Vec2& dir : dirs) {
|
||||
SetPos(old_pos + dir * i);
|
||||
if (!IsCollisionInMapService()) {
|
||||
@ -4206,5 +4206,6 @@ void Human::OnLand()
|
||||
}
|
||||
}
|
||||
}
|
||||
SetPos(old_pos);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user