summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHaruna <haru@dotalux.com>2015-06-23 17:06:00 +0200
committerHaruna <haru@dotalux.com>2015-06-23 17:06:00 +0200
commitecbb2004eaf4e496b9efdf46e00b02c6603127a6 (patch)
treec80430834c1d73523940cbc022adff0b01e26956
parentdab99bde3b683344c4eab60035c08c4e4925525c (diff)
parent9b326bb528b9b2cf6b34e1621bc88e8607f72ace (diff)
downloadhercules-ecbb2004eaf4e496b9efdf46e00b02c6603127a6.tar.gz
hercules-ecbb2004eaf4e496b9efdf46e00b02c6603127a6.tar.bz2
hercules-ecbb2004eaf4e496b9efdf46e00b02c6603127a6.tar.xz
hercules-ecbb2004eaf4e496b9efdf46e00b02c6603127a6.zip
Merge pull request #566 from Ancyker/master
Fixing party creation failure condition
-rw-r--r--src/char/int_party.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/char/int_party.c b/src/char/int_party.c
index 71f2817b4..3b857318c 100644
--- a/src/char/int_party.c
+++ b/src/char/int_party.c
@@ -323,7 +323,6 @@ int inter_party_check_empty(struct party_data *p)
// Create a party whether or not
int mapif_party_created(int fd, int account_id, int char_id, struct party *p)
{
- nullpo_ret(p);
WFIFOHEAD(fd, 39);
WFIFOW(fd,0)=0x3820;
WFIFOL(fd,2)=account_id;