Merge branch 'master' of ssh://eressea_git/home/eressea/repo/eressea

This commit is contained in:
Enno Rehling 2010-03-13 22:43:48 -08:00
commit 46cbe41af2
1 changed files with 3 additions and 0 deletions

View File

@ -4906,6 +4906,9 @@ sp_analysemagic(castorder *co)
int cast_level = co->level; int cast_level = co->level;
spellparameter *pa = co->par; spellparameter *pa = co->par;
if (!pa->param) {
return 0;
}
/* Objekt ermitteln */ /* Objekt ermitteln */
obj = pa->param[0]->typ; obj = pa->param[0]->typ;