diff options
author | shennetsind <ind@henn.et> | 2014-01-18 19:30:11 -0200 |
---|---|---|
committer | shennetsind <ind@henn.et> | 2014-01-18 19:30:11 -0200 |
commit | 14f84fc044754d22740905b7fa90022b4a04b0d8 (patch) | |
tree | 761e2d387fd0bc65ec02964516a15c8d3b85a22d /src/map/mob.c | |
parent | cbde75bbe7c4a74506437f14b33dd94f8ad15b5a (diff) | |
download | hercules-14f84fc044754d22740905b7fa90022b4a04b0d8.tar.gz hercules-14f84fc044754d22740905b7fa90022b4a04b0d8.tar.bz2 hercules-14f84fc044754d22740905b7fa90022b4a04b0d8.tar.xz hercules-14f84fc044754d22740905b7fa90022b4a04b0d8.zip |
Socket interfaced
We designed this one with having as little changes required elsewhere in mind, thus the way most socket-related things are called has not changed.
Plugins may now take a greater advantage of the socket features.
Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src/map/mob.c')
-rw-r--r-- | src/map/mob.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/mob.c b/src/map/mob.c index 6a8aa5f03..dab7b99ac 100644 --- a/src/map/mob.c +++ b/src/map/mob.c @@ -1825,7 +1825,7 @@ void mob_item_drop(struct mob_data *md, struct item_drop_list *dlist, struct ite if( sd && (drop_rate <= sd->state.autoloot || pc->isautolooting(sd, ditem->item_data.nameid)) - && (battle_config.idle_no_autoloot == 0 || DIFF_TICK(last_tick, sd->idletime) < battle_config.idle_no_autoloot) + && (battle_config.idle_no_autoloot == 0 || DIFF_TICK(sockt->last_tick, sd->idletime) < battle_config.idle_no_autoloot) && (battle_config.homunculus_autoloot?1:!flag) #ifdef AUTOLOOT_DISTANCE && sd->bl.m == md->bl.m |