Browse Source

Resolved a compile warning
* Removed an unused variable.

aleos89 8 năm trước cách đây
mục cha
commit
b9e61c7b93
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/map/status.c

+ 1 - 1
src/map/status.c

@@ -3469,7 +3469,7 @@ int status_calc_pc_(struct map_session_data* sd, enum e_status_calc_opt opt)
 			struct s_random_opt_data *data;
 			for (j = 0; j < MAX_ITEM_RDM_OPT; j++) {
 				short opt_id = sd->status.inventory[index].option[j].id;
-				unsigned short nameid = sd->status.inventory[index].nameid;
+
 				if (!opt_id)
 					continue;
 				current_equip_opt_index = j;