add missing return, stop a crash

This commit is contained in:
Enno Rehling 2012-03-05 04:25:23 +01:00
parent 05aba860f0
commit d9a41301d4
1 changed files with 1 additions and 0 deletions

View File

@ -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;