diff options
Diffstat (limited to 'world/map/npc/009-4/barriers.txt')
-rw-r--r-- | world/map/npc/009-4/barriers.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/world/map/npc/009-4/barriers.txt b/world/map/npc/009-4/barriers.txt index 9bc486d9..78635c54 100644 --- a/world/map/npc/009-4/barriers.txt +++ b/world/map/npc/009-4/barriers.txt @@ -15,11 +15,11 @@ L_Error: function|script|SetBarrierColor|{ if (@Barrier < 0 || @Barrier > 2) goto L_Error; - if (@Color < 0 || @Color > 12) + if (@BarrierColor <= 0 || @BarrierColor > 12) goto L_Error2; set @Mask, (15 << (4 * @Barrier)); - set OrumQuestBarrier, (OrumQuestBarrier & (~(@Mask))) | @Color << (4 * @Barrier); + set OrumQuestBarrier, (OrumQuestBarrier & (~(@Mask))) | @BarrierColor << (4 * @Barrier); return; L_Error: |