summaryrefslogtreecommitdiff
path: root/src/char
diff options
context:
space:
mode:
authorAncyker <ancyker@gmail.com>2015-06-22 09:43:24 -0400
committerAncyker <ancyker@gmail.com>2015-06-22 09:43:24 -0400
commit9b326bb528b9b2cf6b34e1621bc88e8607f72ace (patch)
treec80430834c1d73523940cbc022adff0b01e26956 /src/char
parentdab99bde3b683344c4eab60035c08c4e4925525c (diff)
downloadhercules-9b326bb528b9b2cf6b34e1621bc88e8607f72ace.tar.gz
hercules-9b326bb528b9b2cf6b34e1621bc88e8607f72ace.tar.bz2
hercules-9b326bb528b9b2cf6b34e1621bc88e8607f72ace.tar.xz
hercules-9b326bb528b9b2cf6b34e1621bc88e8607f72ace.zip
Fixing party creation failure condition
mapif_party_created was incorrectly checking for a null pointer
Diffstat (limited to 'src/char')
-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;