Explorar o código

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
cookiecrumbs %!s(int64=12) %!d(string=hai) anos
pai
achega
dd921e44ec
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/map/script.c

+ 1 - 1
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