diff options
author | toni <toni@toni-EP45-UD3L.(none)> | 2011-04-03 14:51:56 -0300 |
---|---|---|
committer | Jessica Tölke <jtoelke@mail.upb.de> | 2011-04-04 19:26:42 +0200 |
commit | 027ee71cb7cdfeb2834cb8c66b66bd4869b0a556 (patch) | |
tree | 44a8953463281350632d5f12366ee5b18950ad50 /npc/functions/inn.txt | |
parent | 3caccb6733bc522932c8abdd5eb8324827035b7d (diff) | |
download | serverdata-027ee71cb7cdfeb2834cb8c66b66bd4869b0a556.tar.gz serverdata-027ee71cb7cdfeb2834cb8c66b66bd4869b0a556.tar.bz2 serverdata-027ee71cb7cdfeb2834cb8c66b66bd4869b0a556.tar.xz serverdata-027ee71cb7cdfeb2834cb8c66b66bd4869b0a556.zip |
Fixing strange bug when using "npcName" as a name for a temporary variable
Diffstat (limited to 'npc/functions/inn.txt')
-rw-r--r-- | npc/functions/inn.txt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/npc/functions/inn.txt b/npc/functions/inn.txt index 00366cb2..810dbd1d 100644 --- a/npc/functions/inn.txt +++ b/npc/functions/inn.txt @@ -1,7 +1,7 @@ // INN function script Inn { - mes "[" + @npcName$ + "]"; + mes "[" + @npcname$ + "]"; mes "\"Would you like to rest? It's only " + @cost + " gp.\""; next; @@ -13,17 +13,17 @@ function script Inn { set zeny, zeny - @cost; heal 10000, 10000; - mes "[" + @npcName$ + "]"; + mes "[" + @npcname$ + "]"; mes "\"Sleep well!\""; close; L_No: - mes "[" + @npcName$ + "]"; + mes "[" + @npcname$ + "]"; mes "\"See you.\""; close; L_NoMoney: - mes "[" + @npcName$ + "]"; + mes "[" + @npcname$ + "]"; mes "\"You don't have enough money to stay here.\""; close; } |