temporary fix for a crash in sp_analyzemagic

This commit is contained in:
Enno 2010-03-13 19:18:56 +01:00
parent 1296d49208
commit d71e9e796f
1 changed files with 3 additions and 0 deletions

View File

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