diff options
author | mekolat <mekolat@gmail.com> | 2015-04-21 00:45:10 -0400 |
---|---|---|
committer | mekolat <mekolat@users.noreply.github.com> | 2015-04-30 02:06:42 -0400 |
commit | 3a0df71ee09f9fceb323f608638cc94d9d65124e (patch) | |
tree | 877deffe3f331b74d6af72bc0cf8f30f840736aa /world/map/npc/functions/banker.txt | |
parent | 27fe76b6a48cf51aa87346094845fb0ed6333304 (diff) | |
download | serverdata-3a0df71ee09f9fceb323f608638cc94d9d65124e.tar.gz serverdata-3a0df71ee09f9fceb323f608638cc94d9d65124e.tar.bz2 serverdata-3a0df71ee09f9fceb323f608638cc94d9d65124e.tar.xz serverdata-3a0df71ee09f9fceb323f608638cc94d9d65124e.zip |
make generic npcs use strnpcinfo
Diffstat (limited to 'world/map/npc/functions/banker.txt')
-rw-r--r-- | world/map/npc/functions/banker.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/world/map/npc/functions/banker.txt b/world/map/npc/functions/banker.txt index ea5dfa22..9492f0f5 100644 --- a/world/map/npc/functions/banker.txt +++ b/world/map/npc/functions/banker.txt @@ -8,6 +8,7 @@ function|script|Banker goto L_Start; L_Start: + if(@npcname$ == "") set @npcname$, strnpcinfo(1); mes "[" + @npcname$ + "]"; mes "\"Welcome to the bank!"; mes "How can I help you?\""; @@ -248,5 +249,6 @@ L_Change_Bank: goto L_Start; L_Return: + set @npcname$, ""; return; } |