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:
parent
24eb4bcd4f
commit
1895adcd5c
1 changed files with 2 additions and 2 deletions
|
@ -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]
|
||||
|
|
Loading…
Add table
Reference in a new issue