Przeglądaj źródła

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 12 lat temu
rodzic
commit
dd921e44ec
1 zmienionych plików z 1 dodań i 1 usunięć
  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