summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2013-05-31 01:07:31 -0300
committershennetsind <ind@henn.et>2013-05-31 01:07:31 -0300
commit2f7540f224aba85063feaff69bd46f288bea7f11 (patch)
treec044bc6c646344c7439561a16ef259f4bbcbe0ef
parent7a57a10f970e33a31e1acd9051b9b0725b8220a0 (diff)
downloadhercules-2f7540f224aba85063feaff69bd46f288bea7f11.tar.gz
hercules-2f7540f224aba85063feaff69bd46f288bea7f11.tar.bz2
hercules-2f7540f224aba85063feaff69bd46f288bea7f11.tar.xz
hercules-2f7540f224aba85063feaff69bd46f288bea7f11.zip
Fixed Bug #7264
Special Thanks to Kyeme! http://hercules.ws/board/tracker/issue-7264-map-zone-db-cards-not-working Signed-off-by: shennetsind <ind@henn.et>
-rw-r--r--src/map/status.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/status.c b/src/map/status.c
index 30adf0d0f..35ce70349 100644
--- a/src/map/status.c
+++ b/src/map/status.c
@@ -2584,7 +2584,7 @@ int status_calc_pc_(struct map_session_data* sd, bool first)
continue;
for(k = 0; k < map[sd->bl.m].zone->disabled_items_count; k++) {
- if( map[sd->bl.m].zone->disabled_items[k] == sd->inventory_data[index]->nameid ) {
+ if( map[sd->bl.m].zone->disabled_items[k] == data->nameid ) {
break;
}
}