mirror of
https://github.com/GTAmodding/re3.git
synced 2025-07-18 17: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
|
@ -1074,7 +1074,7 @@ CFileLoader::Load2dEffect(const char *line)
|
|||
&probability);
|
||||
effect->attractor.type = flags;
|
||||
#ifdef FIX_BUGS
|
||||
effect->attractor.probability = clamp(probability, 0, 255);
|
||||
effect->attractor.probability = Clamp(probability, 0, 255);
|
||||
#else
|
||||
effect->attractor.probability = probability;
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue