Merge pull request #1148 from noudess/waterroam

Destination check needed to be actual ground z at loc.  -15 wasnt enough
This commit is contained in:
Alex 2020-12-13 16:38:55 -08:00 committed by GitHub
commit c6d4d8f291
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1610,7 +1610,7 @@ void NPC::AI_DoMovement() {
auto position = glm::vec3(
roambox_destination_x,
roambox_destination_y,
(m_Position.z - 15)
roambox_destination_z
);
/**