From 6475f9aaef5e6affe3565c80e416e4b4e9cde043 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 21 Jun 2018 00:14:04 +0300 Subject: Fix packet 836 (search in stores). Added item options fields into this packet. Updated other things for support for report item options in vending. Buying store not supported for now. --- src/map/status.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/map/status.c') diff --git a/src/map/status.c b/src/map/status.c index a4856f4da..f2275e47b 100644 --- a/src/map/status.c +++ b/src/map/status.c @@ -2694,7 +2694,7 @@ int status_calc_pc_(struct map_session_data* sd, enum e_status_calc_opt opt) int j = 0; for (j = 0; j < MAX_ITEM_OPTIONS; j++) { int16 option_index = sd->status.inventory[index].option[j].index; - struct item_option *ito = NULL; + struct itemdb_option *ito = NULL; if (option_index == 0 || (ito = itemdb->option_exists(option_index)) == NULL || ito->script == NULL) continue; -- cgit v1.2.3-60-g2f50