Explorar el Código

- Fixed a compile warning this time ~.~

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5332 54d463be-8e91-2dee-dedb-b68131a5f0ec
skotlex hace 19 años
padre
commit
1ba53ff18d
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/map/clif.c

+ 1 - 1
src/map/clif.c

@@ -9626,7 +9626,7 @@ void clif_parse_UseItem(int fd, struct map_session_data *sd) {
 	n = RFIFOW(fd,packet_db[sd->packet_ver][RFIFOW(fd,0)].pos[0])-2;
 	
 	if(n <0 || n >= MAX_INVENTORY)
-		return 0;
+		return;
 	if (!pc_useitem(sd,n))
 		clif_useitemack(sd,n,0,0); //Send an empty ack packet or the client gets stuck.
 }