summaryrefslogtreecommitdiff
path: root/src/char/int_party.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/char/int_party.c')
-rw-r--r--src/char/int_party.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/char/int_party.c b/src/char/int_party.c
index 96181cd1b..4e6366807 100644
--- a/src/char/int_party.c
+++ b/src/char/int_party.c
@@ -194,7 +194,7 @@ int inter_party_init() {
p = (struct party_data*)aCalloc(sizeof(struct party_data), 1);
if (p == NULL){
ShowFatalError("int_party: out of memory!\n");
- exit(0);
+ exit(EXIT_FAILURE);
}
memset(p, 0, sizeof(struct party_data));
if (inter_party_fromstr(line, &p->party) == 0 && p->party.party_id > 0) {