From 2736c3a9d1a7eed20ac3f7efe0ee89acfd495085 Mon Sep 17 00:00:00 2001 From: Nikolay Korolev Date: Tue, 12 Jan 2021 12:16:52 +0300 Subject: fix --- src/control/CarCtrl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/control/CarCtrl.cpp') diff --git a/src/control/CarCtrl.cpp b/src/control/CarCtrl.cpp index 056c7713..f171485f 100644 --- a/src/control/CarCtrl.cpp +++ b/src/control/CarCtrl.cpp @@ -175,7 +175,7 @@ CCarCtrl::GenerateOneRandomCar() } float frontX, frontY; float preferredDistance, angleLimit; - float requestMultiplier; + float requestMultiplier = 1.0f; bool invertAngleLimitTest; CVector spawnPosition; int32 curNodeId, nextNodeId; -- cgit v1.2.3