summaryrefslogtreecommitdiff
path: root/src/control/CarCtrl.cpp
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2021-01-12 12:16:52 +0300
committerNikolay Korolev <nickvnuk@gmail.com>2021-01-12 12:16:52 +0300
commit2736c3a9d1a7eed20ac3f7efe0ee89acfd495085 (patch)
treefc350c62beadd2d196558311106ded5c15bc74a4 /src/control/CarCtrl.cpp
parent6ef3b8c458d2ba1c7d48f45ffbcd6842df0e2e1c (diff)
fix
Diffstat (limited to 'src/control/CarCtrl.cpp')
-rw-r--r--src/control/CarCtrl.cpp2
1 files changed, 1 insertions, 1 deletions
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;