diff --git a/server/gameserver/android.ai.cc b/server/gameserver/android.ai.cc index ab08dd7..a230eb5 100644 --- a/server/gameserver/android.ai.cc +++ b/server/gameserver/android.ai.cc @@ -99,10 +99,10 @@ void AndroidAI::DoMove() for (int i = 0; i < speed; ++i) { a8::Vec2 old_pos = hum->pos; hum->pos = hum->pos + hum->move_dir; - if (hum->IsCollision()) { + if (hum->IsCollisionInMapService()) { hum->pos = old_pos; if (i == 0) { - hum->FindPath(); + hum->FindPathInMapService(); } break; }