- added Firebrand's patch to rename 'swap' due to naming conflicts in newer MSVC compilers.
SVN r2449 (trunk)
This commit is contained in:
parent
4ac64b6df7
commit
545a892faa
28 changed files with 50 additions and 50 deletions
|
|
@ -1861,7 +1861,7 @@ DEFINE_CLASS_PROPERTY_PREFIX(player, colorrange, I_I, PlayerPawn)
|
|||
PROP_INT_PARM(end, 1);
|
||||
|
||||
if (start > end)
|
||||
swap (start, end);
|
||||
swapvalues (start, end);
|
||||
|
||||
info->Class->Meta.SetMetaInt (APMETA_ColorRange, (start & 255) | ((end & 255) << 8));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue