summaryrefslogtreecommitdiff
path: root/src/map/script.c
diff options
context:
space:
mode:
authorcookiecrumbs <cookiecrumbs@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-11-24 07:04:38 +0000
committercookiecrumbs <cookiecrumbs@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-11-24 07:04:38 +0000
commiteef34512a2f465f7b2b5453fadfcc0e61c097e01 (patch)
tree07c115a46627e3ddac0086d81506d67d5afad906 /src/map/script.c
parent5585fbf6960e2a939d36ff78d1a0f782f0815588 (diff)
downloadhercules-eef34512a2f465f7b2b5453fadfcc0e61c097e01.tar.gz
hercules-eef34512a2f465f7b2b5453fadfcc0e61c097e01.tar.bz2
hercules-eef34512a2f465f7b2b5453fadfcc0e61c097e01.tar.xz
hercules-eef34512a2f465f7b2b5453fadfcc0e61c097e01.zip
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
Diffstat (limited to 'src/map/script.c')
-rw-r--r--src/map/script.c2
1 files changed, 1 insertions, 1 deletions
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