diff options
author | Haru <haru@dotalux.com> | 2017-04-09 01:15:13 +0200 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2017-04-09 01:15:13 +0200 |
commit | 083ed4ad7a30bdc3172b3ef2a66bb257c0c0e70f (patch) | |
tree | d8175433f6f597db0cb3662b429201b4bfc59ecd | |
parent | 55ec76c2ce71d44775516dcf168328fb614b69ff (diff) | |
download | hercules-083ed4ad7a30bdc3172b3ef2a66bb257c0c0e70f.tar.gz hercules-083ed4ad7a30bdc3172b3ef2a66bb257c0c0e70f.tar.bz2 hercules-083ed4ad7a30bdc3172b3ef2a66bb257c0c0e70f.tar.xz hercules-083ed4ad7a30bdc3172b3ef2a66bb257c0c0e70f.zip |
Fix wrong parameters in a call to mapif->party_broken()
The call is in a code path currently unused, and so was never noticed
during normal gameplay.
The wrong line dates back to (j)Athena, and was already present in
snapshots from 2003.
Signed-off-by: Haru <haru@dotalux.com>
-rw-r--r-- | src/char/int_party.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/char/int_party.c b/src/char/int_party.c index 921bf6d9d..4b6800699 100644 --- a/src/char/int_party.c +++ b/src/char/int_party.c @@ -717,7 +717,7 @@ int mapif_parse_BreakParty(int fd, int party_id) if(!p) return 0; inter_party->tosql(&p->party,PS_BREAK,0); - mapif->party_broken(fd,party_id); + mapif->party_broken(party_id, 1); return 0; } |