Explorar el 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 hace 12 años
padre
commit
dd921e44ec
Se han modificado 1 ficheros con 1 adiciones y 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