summaryrefslogtreecommitdiff
path: root/npc/other/poring_war.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/other/poring_war.txt')
-rw-r--r--npc/other/poring_war.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/npc/other/poring_war.txt b/npc/other/poring_war.txt
index f3a1df913..b3b6466ad 100644
--- a/npc/other/poring_war.txt
+++ b/npc/other/poring_war.txt
@@ -318,7 +318,7 @@ poring_w01,96,97,3 script Sweet Devi#wop 4_DEVIRUCHI,{
}
OnPCLogoutEvent:
- getmapxy .@map$,.@x,.@y,0;
+ getmapxy(.@map$, .@x, .@y, UNITTYPE_PC);
if (.@map$ == "poring_w02") {
if (WoP_SaveMap$ != "") {
savepoint WoP_SaveMap$,WoP_SaveMap_X,WoP_SaveMap_Y;
@@ -332,7 +332,7 @@ OnPCLogoutEvent:
end;
OnPCDieEvent:
- getmapxy .@map$,.@x,.@y,0;
+ getmapxy(.@map$, .@x, .@y, UNITTYPE_PC);
if (.@map$ == "poring_w02" && wop_team) {
if (getsavepoint(0) != "poring_w02" && WoP_SaveMap$ == "") {
WoP_SaveMap$ = getsavepoint(0);
@@ -349,7 +349,7 @@ OnPCDieEvent:
end;
OnPCKillEvent:
- getmapxy .@map$,.@x,.@y,0;
+ getmapxy(.@map$, .@x, .@y, UNITTYPE_PC);
if (.@map$ == "poring_w02" && wop_team) {
getnameditem War_Badge,rid2name(killedrid);
}