From 770237fa7f64c3a0ae897d85fbb72660d5547a2f Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Mon, 17 Feb 2020 23:28:04 -0300 Subject: Simplification --- npc/functions/savepoint.txt | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'npc/functions') 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)); -- cgit v1.2.3-60-g2f50