diff --git a/src/openrct2/entity/EntityRegistry.cpp b/src/openrct2/entity/EntityRegistry.cpp index f20f1a0919..5492c52909 100644 --- a/src/openrct2/entity/EntityRegistry.cpp +++ b/src/openrct2/entity/EntityRegistry.cpp @@ -536,9 +536,9 @@ CoordsXYZ EntityBase::GetLocation() const void EntityBase::SetLocation(const CoordsXYZ& newLocation) { - x = static_cast(newLocation.x); - y = static_cast(newLocation.y); - z = static_cast(newLocation.z); + x = newLocation.x; + y = newLocation.y; + z = newLocation.z; } void EntitySetCoordinates(const CoordsXYZ& entityPos, EntityBase* entity)