Toggle navigation
Hercules
Bugtracker archive
Hercules bug tracker archive
Core
Problem in map_zone disabled items
Problem in map_zone disabled items
Warning!
This is the old Hercules bugtracker archive, and may not reflect the current state of Hercules. The current bugtracker is on
GitHub Issues
.
Issue information
Issue ID
#8256
Status
New
Severity
None
Started
Poison
Jul 10, 2014 11:27
Last Post
Poison
Jul 10, 2014 11:27
Confirmation
Yes (1)
No (0)
Poison -
Jul 10, 2014 11:27
This loop always unequip less 1 item
status.c[code=auto:0] for(k = 0; k < map->list[sd->bl.m].zone->disabled_items_count; k++) { if( map->list[sd->bl.m].zone->disabled_items[k] == data->nameid ) { pc->unequipitem(sd, sd->equip_index[index], 2); break; } } [/code]
This post has been edited by
Poison
on Jul 10, 2014 12:57