summaryrefslogtreecommitdiffstats
path: root/src/control
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2021-01-12 10:17:22 +0100
committerNikolay Korolev <nickvnuk@gmail.com>2021-01-12 10:17:22 +0100
commit167a8410105e9625349be35e80d57e189949179f (patch)
tree5bd1f9871bc1aa9416d277cb5f99556b0e52770f /src/control
parentFix collective commands (diff)
parentfix (diff)
downloadre3-167a8410105e9625349be35e80d57e189949179f.tar
re3-167a8410105e9625349be35e80d57e189949179f.tar.gz
re3-167a8410105e9625349be35e80d57e189949179f.tar.bz2
re3-167a8410105e9625349be35e80d57e189949179f.tar.lz
re3-167a8410105e9625349be35e80d57e189949179f.tar.xz
re3-167a8410105e9625349be35e80d57e189949179f.tar.zst
re3-167a8410105e9625349be35e80d57e189949179f.zip
Diffstat (limited to 'src/control')
-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;