This commit is contained in:
aozhiwei 2024-02-02 23:41:15 +08:00
parent 39dde6b509
commit 39c403762c
2 changed files with 2 additions and 0 deletions

View File

@ -2661,6 +2661,7 @@ int Room::InitWithCustomBattle(long ip_saddr, int socket_handle, std::shared_ptr
} }
} }
} }
return 0;
} }
void SyncObject::FillSMSyncPosition(cs::SMSyncPosition& sync_msg) void SyncObject::FillSMSyncPosition(cs::SMSyncPosition& sync_msg)

View File

@ -1627,6 +1627,7 @@ void Room::UpdateGasInactiveMoba()
#endif #endif
hum->GetMovement()->ClearPath(); hum->GetMovement()->ClearPath();
grid_service->MoveCreature(hum); grid_service->MoveCreature(hum);
return true;
}); });
App::Instance()->verify_set_pos = 0; App::Instance()->verify_set_pos = 0;
for (auto& pair : team_hash_) { for (auto& pair : team_hash_) {