summaryrefslogtreecommitdiff
path: root/src/char/int_homun.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/char/int_homun.c')
-rw-r--r--src/char/int_homun.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/char/int_homun.c b/src/char/int_homun.c
index 35f8f9c50..62b5a78a1 100644
--- a/src/char/int_homun.c
+++ b/src/char/int_homun.c
@@ -127,7 +127,7 @@ int inter_homun_init()
p = (struct s_homunculus*)aCalloc(sizeof(struct s_homunculus), 1);
if(p==NULL){
ShowFatalError("int_homun: out of memory!\n");
- exit(0);
+ exit(EXIT_FAILURE);
}
if(inter_homun_fromstr(line,p)==0 && p->hom_id>0){
if( p->hom_id >= homun_newid)