summaryrefslogtreecommitdiff
path: root/npc/commands/warp.txt
diff options
context:
space:
mode:
authorgumi <git@gumi.ca>2018-02-15 10:53:32 -0500
committergumi <git@gumi.ca>2018-03-20 21:22:00 -0400
commit3605ca68d55461cb1da9b01f41f5d2c0ff514503 (patch)
tree8c21604bef095c4a5fc5c6b3bd4f2dcc1bc4ac27 /npc/commands/warp.txt
parent99f4e1606e8e4bd5c476d81758803da82476c5f4 (diff)
downloadserverdata-3605ca68d55461cb1da9b01f41f5d2c0ff514503.tar.gz
serverdata-3605ca68d55461cb1da9b01f41f5d2c0ff514503.tar.bz2
serverdata-3605ca68d55461cb1da9b01f41f5d2c0ff514503.tar.xz
serverdata-3605ca68d55461cb1da9b01f41f5d2c0ff514503.zip
yeah... this got very messy (my bad!). let's not use custom terminators after all
Diffstat (limited to 'npc/commands/warp.txt')
-rw-r--r--npc/commands/warp.txt5
1 files changed, 3 insertions, 2 deletions
diff --git a/npc/commands/warp.txt b/npc/commands/warp.txt
index e64b87db..397e621b 100644
--- a/npc/commands/warp.txt
+++ b/npc/commands/warp.txt
@@ -26,7 +26,7 @@ OnCall:
{
if (.@request$ ~= .aliases$[.@i])
{
- sscanf .aliases$[.@i + 1], "%s %d %d", .@map$, .@x, .@y;
+ sscanf(.aliases$[.@i + 1], "%s %d %d", .@map$, .@x, .@y);
break;
}
}
@@ -57,7 +57,8 @@ OnCall:
++.@e;
}
- cwarp .@map$, .@x, .@y; // XXX: maybe here use a slide_or_warp function
+ slide_or_warp(.@map$, .@x, .@y);
+ end;
OnInit:
setarray .aliases$[0],