Преглед изворни кода

Follow up fa40773 :
* Fixed compile warning.

Napster пре 9 година
родитељ
комит
93666ce79a
1 измењених фајлова са 1 додато и 0 уклоњено
  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);