1
This commit is contained in:
parent
05ebd8d2bb
commit
853cdf5751
@ -3204,8 +3204,10 @@ void Creature::ForwardMove(float distance)
|
||||
bool ret = room->map_instance->Raycast(0, start, end, hit_point, hit_result);
|
||||
if (ret) {
|
||||
room->map_instance->UnScale(hit_point);
|
||||
GetMutablePos().FromGlmVec3(hit_point);
|
||||
}
|
||||
|
||||
room->grid_service->MoveCreature(this);
|
||||
CheckSpecObject();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user