From 370c4e48cd87122e8d38f1a72f6b8f62ff7b9c96 Mon Sep 17 00:00:00 2001
From: Filip Gawin <filip.gawin@zoho.com>
Date: Sun, 19 Apr 2020 18:34:08 +0200
Subject: Try to build with mingw

---
 src/control/AutoPilot.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src/control/AutoPilot.cpp')

diff --git a/src/control/AutoPilot.cpp b/src/control/AutoPilot.cpp
index 3fc9b154..69511bc8 100644
--- a/src/control/AutoPilot.cpp
+++ b/src/control/AutoPilot.cpp
@@ -8,7 +8,7 @@
 
 void CAutoPilot::ModifySpeed(float speed)
 {
-	m_fMaxTrafficSpeed = max(0.01f, speed);
+	m_fMaxTrafficSpeed = Max(0.01f, speed);
 	float positionBetweenNodes = (float)(CTimer::GetTimeInMilliseconds() - m_nTimeEnteredCurve) / m_nTimeToSpendOnCurrentCurve;
 	CCarPathLink* pCurrentLink = &ThePaths.m_carPathLinks[m_nCurrentPathNodeInfo];
 	CCarPathLink* pNextLink = &ThePaths.m_carPathLinks[m_nNextPathNodeInfo];
-- 
cgit v1.2.3-70-g09d2