瀏覽代碼

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);