summaryrefslogtreecommitdiff
path: root/npc/functions/savepoint.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-02-17 23:28:04 -0300
committerJesusaves <cpntb1@ymail.com>2020-02-17 23:28:04 -0300
commit770237fa7f64c3a0ae897d85fbb72660d5547a2f (patch)
tree4e2f4a29ad4524d576b2b499e9da1507af52da8d /npc/functions/savepoint.txt
parent1a15a67a98c4e75d96b8a122b9986a0483b46729 (diff)
downloadserverdata-770237fa7f64c3a0ae897d85fbb72660d5547a2f.tar.gz
serverdata-770237fa7f64c3a0ae897d85fbb72660d5547a2f.tar.bz2
serverdata-770237fa7f64c3a0ae897d85fbb72660d5547a2f.tar.xz
serverdata-770237fa7f64c3a0ae897d85fbb72660d5547a2f.zip
Simplification
Diffstat (limited to 'npc/functions/savepoint.txt')
-rw-r--r--npc/functions/savepoint.txt9
1 files changed, 2 insertions, 7 deletions
diff --git a/npc/functions/savepoint.txt b/npc/functions/savepoint.txt
index 2118d8aa5..8b0f3ce0f 100644
--- a/npc/functions/savepoint.txt
+++ b/npc/functions/savepoint.txt
@@ -7,13 +7,12 @@
// Usage:
// savepointparticle;
// savepointparticle NO_INN;
-// savepointparticle map, x, y, NO_INN;
+// savepointparticle map, x, y;
// Description:
// Save location with arguments:
// getarg(0) map name,
// getarg(1) x's value,
-// getarg(2) y's value,
-// getarg(3) INN flag.
+// getarg(2) y's value.
function script savepointparticle {
@@ -36,10 +35,6 @@ function script savepointparticle {
message strcharinfo(0), l("Your position has been saved.");
- if (getarg(.@i, NO_INN) == NO_INN)
- {
- INN_REGISTER = NO_INN;
- }
if (GSET_SOULMENHIR_MANUAL)
savepoint .@mapname$, .@mapx, .@mapy;
specialeffect(4, SELF, getcharid(3));