mirror of
https://github.com/EQEmu/Server.git
synced 2026-11-28 13:32:17 +00:00
Drone Build Pipeline (#1144)
* Create drone config * Tweak config * Update .drone.yml * Garbage commit to run another build * Bring cores down * Fix formatting from https://github.com/EQEmu/Server/pull/1142 * Add tests line * Change directory to build before running the unit tests * Remove tests dir * Avoid double build on PR's * Testing build settings
This commit is contained in:
1 parent
ff4c9e1e70
commit
5a4c651d6b
2 files changed
+25
-7
No files matched your search
+9
-7
@@ -1632,14 +1632,16 @@ void NPC::AI_DoMovement() {
|
||||
}
|
||||
else { // Mob was in water, make sure new spot is in water also
|
||||
roambox_destination_z = m_Position.z;
|
||||
auto position = glm::vec3( roambox_destination_x,
|
||||
roambox_destination_y,
|
||||
m_Position.z + 15);
|
||||
auto position = glm::vec3(
|
||||
roambox_destination_x,
|
||||
roambox_destination_y,
|
||||
m_Position.z + 15
|
||||
);
|
||||
if (!zone->watermap->InLiquid(position)) {
|
||||
roambox_destination_x = m_SpawnPoint.x;
|
||||
roambox_destination_y = m_SpawnPoint.y;
|
||||
roambox_destination_z = m_SpawnPoint.z;
|
||||
}
|
||||
roambox_destination_x = m_SpawnPoint.x;
|
||||
roambox_destination_y = m_SpawnPoint.y;
|
||||
roambox_destination_z = m_SpawnPoint.z;
|
||||
}
|
||||
}
|
||||
|
||||
PathfinderOptions opts;
|
||||
|
||||
Reference in new issue
Block a user