UtBS S08: Fixed crash/error when the human patrol appears

The armor shift IPF should have been in quotes, but wasn't, causing the + signs to break the formula.
This commit is contained in:
ln-zookeeper 2017-06-02 11:26:07 +03:00
parent 24eb4bcd4f
commit 1895adcd5c

View file

@ -113,7 +113,7 @@
if(red <= green and green <= blue + 3, ({NEWCHAN} / 255.0)^2 * 255.0, {ORIGCHAN})#enddef
#define ARMOR_SHIFT_IPF
CHAN({ARMOR_SHIFT blue red}, {ARMOR_SHIFT green green}, {ARMOR_SHIFT red blue})#enddef
"CHAN({ARMOR_SHIFT blue red}, {ARMOR_SHIFT green green}, {ARMOR_SHIFT red blue})"#enddef
#define LOYALIST_COLOR_SHIFT
[event]
@ -144,7 +144,7 @@ CHAN({ARMOR_SHIFT blue red}, {ARMOR_SHIFT green green}, {ARMOR_SHIFT red blue})#
[effect]
apply_to=image_mod
add="{ARMOR_SHIFT_IPF}"
add={ARMOR_SHIFT_IPF}
[/effect]
[/object]
[/event]