summaryrefslogtreecommitdiff
path: root/src/map/chrif.c
diff options
context:
space:
mode:
authornadiyama <ctt@csnv.es>2014-08-23 01:40:47 +0200
committernadiyama <ctt@csnv.es>2014-08-23 01:40:47 +0200
commite7be72538ea9c203bfd7a976d82e268e04303ca4 (patch)
tree1b3b8557e48019b977fe252db6ab6d2928d8baa2 /src/map/chrif.c
parent769b1d05aa5cfa8cddfe7d21b35d5c5e4da3bbd6 (diff)
downloadhercules-e7be72538ea9c203bfd7a976d82e268e04303ca4.tar.gz
hercules-e7be72538ea9c203bfd7a976d82e268e04303ca4.tar.bz2
hercules-e7be72538ea9c203bfd7a976d82e268e04303ca4.tar.xz
hercules-e7be72538ea9c203bfd7a976d82e268e04303ca4.zip
Fixed official devotion behaviour, various cleanups
Fixed devotion behaviour according to bug report 8292 http://hercules.ws/board/tracker/issue-8292-devotion (precast conditions pending) Cleaned non existing flag from status->change_start calls. Removed redundant condition in battle->check_range.
Diffstat (limited to 'src/map/chrif.c')
-rw-r--r--src/map/chrif.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/chrif.c b/src/map/chrif.c
index 4c8cd747b..ebdace226 100644
--- a/src/map/chrif.c
+++ b/src/map/chrif.c
@@ -1178,7 +1178,7 @@ bool chrif_load_scdata(int fd) {
for (i = 0; i < count; i++) {
data = (struct status_change_data*)RFIFOP(fd,14 + i*sizeof(struct status_change_data));
- status->change_start(NULL, &sd->bl, (sc_type)data->type, 10000, data->val1, data->val2, data->val3, data->val4, data->tick, 15);
+ status->change_start(NULL, &sd->bl, (sc_type)data->type, 10000, data->val1, data->val2, data->val3, data->val4, data->tick, 7);
}
pc->scdata_received(sd);