forked from github/server
add missing return, stop a crash
This commit is contained in:
parent
05aba860f0
commit
d9a41301d4
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue