summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2013-12-04 16:13:46 -0200
committershennetsind <ind@henn.et>2013-12-04 16:13:46 -0200
commit48fdd76b45f6c37cc02a5f981d3591c951ddfb94 (patch)
treeb2516abb3a398a1b7e77a0b6360f1b9329c26436 /src
parent2350c7e6a28630c0157ebca7e41f96b7716e79ce (diff)
downloadhercules-48fdd76b45f6c37cc02a5f981d3591c951ddfb94.tar.gz
hercules-48fdd76b45f6c37cc02a5f981d3591c951ddfb94.tar.bz2
hercules-48fdd76b45f6c37cc02a5f981d3591c951ddfb94.tar.xz
hercules-48fdd76b45f6c37cc02a5f981d3591c951ddfb94.zip
Fixed Bug 7883
Special Thanks to Megasantos, Beret. Follows up 098dbcf672e04657553b9f1629550e6bc8771af3 http://hercules.ws/board/tracker/issue-7883-reloaditemdb/ Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src')
-rw-r--r--src/map/itemdb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/itemdb.c b/src/map/itemdb.c
index 8a7e34ceb..1f9e2c889 100644
--- a/src/map/itemdb.c
+++ b/src/map/itemdb.c
@@ -2208,10 +2208,10 @@ void itemdb_reload(void) {
iter = mapit_geteachpc();
for( sd = (struct map_session_data*)mapit->first(iter); mapit->exists(iter); sd = (struct map_session_data*)mapit->next(iter) ) {
memset(sd->item_delay, 0, sizeof(sd->item_delay)); // reset item delays
+ pc->setinventorydata(sd);
if( battle_config.item_check )
sd->state.itemcheck = 1;
pc->checkitem(sd);
- pc->setinventorydata(sd);
/* clear combo bonuses */
if( sd->combos.count ) {
aFree(sd->combos.bonus);