From eef34512a2f465f7b2b5453fadfcc0e61c097e01 Mon Sep 17 00:00:00 2001 From: cookiecrumbs Date: Sat, 24 Nov 2012 07:04:38 +0000 Subject: Follow up to r16957 to fix an error with getcharip. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16958 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/script.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/map/script.c b/src/map/script.c index f06698d16..0ae150f72 100644 --- a/src/map/script.c +++ b/src/map/script.c @@ -16923,7 +16923,7 @@ BUILDIN_FUNC(getcharip) else if (script_isint(st, 2) || script_getnum(st, 2)) { id = script_getnum(st, 2); - sd = (sd = map_id2sd(id) ? map_id2sd(id) : map_charid2sd(id)); + sd = (map_id2sd(id) ? map_id2sd(id) : map_charid2sd(id)); } } else -- cgit v1.2.3-70-g09d2