summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2021-01-12 10:16:52 +0100
committerNikolay Korolev <nickvnuk@gmail.com>2021-01-12 10:16:52 +0100
commit2736c3a9d1a7eed20ac3f7efe0ee89acfd495085 (patch)
treefc350c62beadd2d196558311106ded5c15bc74a4 /src
parentMerge pull request #949 from majesticCoding/lcs (diff)
downloadre3-2736c3a9d1a7eed20ac3f7efe0ee89acfd495085.tar
re3-2736c3a9d1a7eed20ac3f7efe0ee89acfd495085.tar.gz
re3-2736c3a9d1a7eed20ac3f7efe0ee89acfd495085.tar.bz2
re3-2736c3a9d1a7eed20ac3f7efe0ee89acfd495085.tar.lz
re3-2736c3a9d1a7eed20ac3f7efe0ee89acfd495085.tar.xz
re3-2736c3a9d1a7eed20ac3f7efe0ee89acfd495085.tar.zst
re3-2736c3a9d1a7eed20ac3f7efe0ee89acfd495085.zip
Diffstat (limited to 'src')
-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;