Sfoglia il codice sorgente

Follow up fa40773 :
* Fixed compile warning.

Napster 9 anni fa
parent
commit
93666ce79a
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      src/map/pc.c

+ 1 - 0
src/map/pc.c

@@ -8434,6 +8434,7 @@ void pc_setoption(struct map_session_data *sd,int type)
 bool pc_setcart(struct map_session_data *sd,int type) {
 #ifndef NEW_CARTS
 	int cart[6] = {0x0000,OPTION_CART1,OPTION_CART2,OPTION_CART3,OPTION_CART4,OPTION_CART5};
+#else
 	int option;
 #endif
 	nullpo_retr(false,sd);