From 2e5cde118147107639b084c87c32a5fda7454bfa Mon Sep 17 00:00:00 2001 From: SK398497 <51833718+SK398497@users.noreply.github.com> Date: Mon, 28 Oct 2019 11:45:46 +0100 Subject: [PATCH] Update ObstacleDetectionSensor.cpp Change 100.0 to 100.0f as requested by bernatx in Pull Request #2182 from the carla master branch. --- .../Carla/Source/Carla/Sensor/ObstacleDetectionSensor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Sensor/ObstacleDetectionSensor.cpp b/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Sensor/ObstacleDetectionSensor.cpp index d94e30e15..13a0ecc02 100644 --- a/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Sensor/ObstacleDetectionSensor.cpp +++ b/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Sensor/ObstacleDetectionSensor.cpp @@ -139,6 +139,6 @@ void AObstacleDetectionSensor::OnObstacleDetectionEvent( GetDataStream(*this).Send(*this, Episode.SerializeActor(Episode.FindOrFakeActor(Actor)), Episode.SerializeActor(Episode.FindOrFakeActor(OtherActor)), - HitDistance/100.0); + HitDistance/100.0f); } }