diff options
author | jtoelke <jtoelke@gmx.de> | 2013-06-28 13:18:17 -0700 |
---|---|---|
committer | jtoelke <jtoelke@gmx.de> | 2013-06-28 13:18:17 -0700 |
commit | e8a4dddb3b54814713c411a094fc1a9b90492962 (patch) | |
tree | 3856e10b80ae965d42b477354a3e5d79c3b04cfb /world/map/npc/functions/banker.txt | |
parent | d6d562b4a7bf157a36c0560be4ec14f9f463aa86 (diff) | |
parent | bc66a98377575c7c8e9592e50cbdcf083d6ecaff (diff) | |
download | serverdata-e8a4dddb3b54814713c411a094fc1a9b90492962.tar.gz serverdata-e8a4dddb3b54814713c411a094fc1a9b90492962.tar.bz2 serverdata-e8a4dddb3b54814713c411a094fc1a9b90492962.tar.xz serverdata-e8a4dddb3b54814713c411a094fc1a9b90492962.zip |
Merge pull request #20 from o11c/master
Refactor callfunc and callsub out of if statements
Diffstat (limited to 'world/map/npc/functions/banker.txt')
-rw-r--r-- | world/map/npc/functions/banker.txt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/world/map/npc/functions/banker.txt b/world/map/npc/functions/banker.txt index 863f3ce1..42348957 100644 --- a/world/map/npc/functions/banker.txt +++ b/world/map/npc/functions/banker.txt @@ -2,7 +2,9 @@ function|script|Banker|{ - if (BankAccount > 0) callsub S_MoveAccount; + if (BankAccount == 0) + goto L_Start; + callsub S_MoveAccount; L_Start: mes "[" + @npcname$ + "]"; |