forked from github/server
Merge branch 'master' into develop
This commit is contained in:
commit
6dea757cb6
1 changed files with 1 additions and 1 deletions
|
@ -2578,7 +2578,7 @@ static castorder *cast_cmd(unit * u, order * ord)
|
|||
skill = limit;
|
||||
}
|
||||
sp = unit_getspell(mage, s, mage->faction->locale);
|
||||
if (sp->sptyp & NOTFAMILIARCAST) {
|
||||
if (sp == NULL || sp->sptyp & NOTFAMILIARCAST) {
|
||||
/* Fehler: "Diesen Spruch kann der Vertraute nicht zaubern" */
|
||||
cmistake(u, ord, 177, MSG_MAGIC);
|
||||
return 0;
|
||||
|
|
Loading…
Reference in a new issue