1
This commit is contained in:
parent
e168aa7e93
commit
743d6cff90
@ -2696,7 +2696,7 @@ void Creature::OnLand()
|
|||||||
glm::vec3 center = GetPos().ToGlmVec3();
|
glm::vec3 center = GetPos().ToGlmVec3();
|
||||||
room->map_instance->Scale(center);
|
room->map_instance->Scale(center);
|
||||||
glm::vec3 point;
|
glm::vec3 point;
|
||||||
bool ok = room->map_instance->FindNearestPoint(center, 2, point);
|
bool ok = room->map_instance->FindNearestPoint(center, 200, point);
|
||||||
if (!ok) {
|
if (!ok) {
|
||||||
abort();
|
abort();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user