forked from github/server
mallorn spell used wrong error message
This commit is contained in:
parent
9f9043e4dd
commit
e6538439fb
|
@ -1044,11 +1044,11 @@ static int sp_mallorn(castorder * co)
|
||||||
unit *mage = co->magician.u;
|
unit *mage = co->magician.u;
|
||||||
|
|
||||||
if (!fval(r->terrain, LAND_REGION)) {
|
if (!fval(r->terrain, LAND_REGION)) {
|
||||||
cmistake(mage, co->order, 290, MSG_MAGIC);
|
cmistake(mage, co->order, 186, MSG_MAGIC);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
if (fval(r, RF_MALLORN)) {
|
if (fval(r, RF_MALLORN)) {
|
||||||
cmistake(mage, co->order, 291, MSG_MAGIC);
|
cmistake(mage, co->order, 191, MSG_MAGIC);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue