mirror of
https://github.com/GTAmodding/re3.git
synced 2025-07-18 16:24:09 +00:00
rename clamp macro to Clamp to fix compilation with g++11 (and clamp2 for consistency sake)
This commit is contained in:
parent
f8297df9c5
commit
d17d437de3
41 changed files with 189 additions and 189 deletions
|
@ -1155,7 +1155,7 @@ void CScriptPath::Update(void) {
|
|||
return;
|
||||
|
||||
m_fPosition += m_fSpeed * CTimer::GetTimeStepInSeconds();
|
||||
m_fPosition = clamp(m_fPosition, 0.0f, m_fTotalLength);
|
||||
m_fPosition = Clamp(m_fPosition, 0.0f, m_fTotalLength);
|
||||
|
||||
if (m_pObjects[0] || m_pObjects[1] || m_pObjects[2] || m_pObjects[3]
|
||||
|| m_pObjects[4] || m_pObjects[5]) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue