simuv4.1: fix cppcheck warning

git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@9373 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: c19a496ef0dc8cf6046353ed823a8493b6fc45bc
Former-commit-id: c5a2351ebbef94ea5dc0cc6ca9142e1a8fddb7ad
This commit is contained in:
iobyte 2024-03-04 17:08:21 +00:00
parent 301efbd5ce
commit 398ff6a5b4

View file

@ -1122,7 +1122,7 @@ void SimWheelUpdateTire(tCar *car, int index)
wheel->currentGripFactor = ((1.0f-(MIN((di*di), 1.0f)))/4.0f + 3.0f/4.0f) * (1.0f - wheel->currentGraining / 10.0f);
// Tire grip drop-off from wear
if (isPunctured = false)
if (isPunctured == false)
{
if (wheel->currentWear < 0.25)
{