From c7fb0c21c1d713f02eafccbf7ff16e9c7decaca8 Mon Sep 17 00:00:00 2001 From: Fate Date: Sun, 23 Nov 2008 12:59:37 -0700 Subject: Replaced boolean operators by bitwise operators in encoding of chest quests --- npc/002-4_Desert_mines/chest.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'npc/002-4_Desert_mines') diff --git a/npc/002-4_Desert_mines/chest.txt b/npc/002-4_Desert_mines/chest.txt index 49014976..c3e2c188 100644 --- a/npc/002-4_Desert_mines/chest.txt +++ b/npc/002-4_Desert_mines/chest.txt @@ -1,7 +1,7 @@ // 002-4.gat,93,37,0 script Treasure 111,{ - if( ChestQuest && 1) goto L_Finished; + if( ChestQuest & 1) goto L_Finished; mes "[Chest]"; mes "Would you try to open it?"; @@ -17,7 +17,7 @@ L_Yes: getitem 536, 1; mes "[Chest]"; mes "You opened it and found a short sword!"; - set ChestQuest, ChestQuest || 1; + set ChestQuest, ChestQuest | 1; close; L_Not_Enough: -- cgit v1.2.3-60-g2f50