diff options
author | Haru <haru@dotalux.com> | 2015-12-18 05:48:23 +0100 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2015-12-18 05:53:48 +0100 |
commit | a782aa1540b63d5fffd55d835f6f30ee0c53d0f1 (patch) | |
tree | 4d20c27f191e91adabb029342683687bce5ca4d5 /npc/other/CashShop_Functions.txt | |
parent | dbe5f2237cada6a261e297b60857dc305860a88d (diff) | |
download | hercules-a782aa1540b63d5fffd55d835f6f30ee0c53d0f1.tar.gz hercules-a782aa1540b63d5fffd55d835f6f30ee0c53d0f1.tar.bz2 hercules-a782aa1540b63d5fffd55d835f6f30ee0c53d0f1.tar.xz hercules-a782aa1540b63d5fffd55d835f6f30ee0c53d0f1.zip |
Replaced numeric values with UNITTYPE_ constants in getmapxy
Follow-up to dbe5f2237cada6a261e297b60857dc305860a88d
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'npc/other/CashShop_Functions.txt')
-rw-r--r-- | npc/other/CashShop_Functions.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/npc/other/CashShop_Functions.txt b/npc/other/CashShop_Functions.txt index ef53ef858..17ce48173 100644 --- a/npc/other/CashShop_Functions.txt +++ b/npc/other/CashShop_Functions.txt @@ -57,8 +57,8 @@ function script F_CashStore { // - No arguments. function script F_CashPartyCall { warp "Random",0,0; - if(getpartyleader(getcharid(1),2) == getcharid(0)) { - getmapxy .@mapl$, .@xl, .@yl, 0; + if (getpartyleader(getcharid(1),2) == getcharid(0)) { + getmapxy(.@mapl$, .@xl, .@yl, UNITTYPE_PC); warpparty .@mapl$, .@xl, .@yl, getcharid(1), .@mapl$; } return; |