diff options
author | shennetsind <ind@henn.et> | 2013-10-27 19:27:09 -0200 |
---|---|---|
committer | shennetsind <ind@henn.et> | 2013-10-27 19:27:09 -0200 |
commit | 3e1b9de2a8a106d9471abbd1b232078eae268fbc (patch) | |
tree | e9a4c977f13e0b7e25d960d2658cb1f56edae1b4 /src/map/chrif.c | |
parent | 6c1996a050e03408e55333c1efa1034ae25b9a00 (diff) | |
download | hercules-3e1b9de2a8a106d9471abbd1b232078eae268fbc.tar.gz hercules-3e1b9de2a8a106d9471abbd1b232078eae268fbc.tar.bz2 hercules-3e1b9de2a8a106d9471abbd1b232078eae268fbc.tar.xz hercules-3e1b9de2a8a106d9471abbd1b232078eae268fbc.zip |
Fixed Bug #7418
Item rentals now take place after status changes arrive, guaranteeing that items that expired cancel their effects properly.
Thanks to kyeme, malufett.
http://hercules.ws/board/tracker/issue-7418-setmount-boarding-hatler/
Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src/map/chrif.c')
-rw-r--r-- | src/map/chrif.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/map/chrif.c b/src/map/chrif.c index 4efc5bce4..a13217060 100644 --- a/src/map/chrif.c +++ b/src/map/chrif.c @@ -1212,6 +1212,8 @@ int chrif_load_scdata(int fd) { data = (struct status_change_data*)RFIFOP(fd,14 + i*sizeof(struct status_change_data)); status->change_start(&sd->bl, (sc_type)data->type, 10000, data->val1, data->val2, data->val3, data->val4, data->tick, 15); } + + pc->scdata_received(sd); #endif return 0; |