Follow up to r16957 to fix an error with getcharip.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16958 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
cookiecrumbs 2012-11-24 07:04:38 +00:00
parent 68c19e8a0f
commit dd921e44ec

View File

@ -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