From d9a41301d49c71b9cce22fd51fd30cb9d5abcff0 Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Mon, 5 Mar 2012 04:25:23 +0100 Subject: [PATCH] add missing return, stop a crash --- src/spells/spells.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/spells/spells.c b/src/spells/spells.c index 7adf28b8a..06243dfe7 100644 --- a/src/spells/spells.c +++ b/src/spells/spells.c @@ -6463,6 +6463,7 @@ int sp_break_curse(castorder * co) if (pa->length < 2) { /* Das Zielobjekt wurde vergessen */ cmistake(mage, co->order, 203, MSG_MAGIC); + return 0; } obj = pa->param[0]->typ;