forked from github/server
temporary fix for a crash in sp_analyzemagic
This commit is contained in:
parent
1296d49208
commit
d71e9e796f
|
@ -4906,6 +4906,9 @@ sp_analysemagic(castorder *co)
|
|||
int cast_level = co->level;
|
||||
spellparameter *pa = co->par;
|
||||
|
||||
if (!pa->param) {
|
||||
return 0;
|
||||
}
|
||||
/* Objekt ermitteln */
|
||||
obj = pa->param[0]->typ;
|
||||
|
||||
|
|
Loading…
Reference in New Issue