forked from github/server
- Bugfix is_mage
- Bugfix Allianzen im CR
This commit is contained in:
parent
e84dffb9a2
commit
7edf02f55c
3 changed files with 6 additions and 6 deletions
|
@ -814,7 +814,7 @@ static void
|
||||||
show_allies(FILE * F, const faction * f, const ally * sf)
|
show_allies(FILE * F, const faction * f, const ally * sf)
|
||||||
{
|
{
|
||||||
for (; sf; sf = sf->next) if (sf->faction) {
|
for (; sf; sf = sf->next) if (sf->faction) {
|
||||||
int mode = alliedfaction(NULL, f, sf->faction, HELP_ALL);
|
int mode = alliedgroup(NULL, f, sf->faction, sf, HELP_ALL);
|
||||||
if (mode!=0 && sf->status>0) {
|
if (mode!=0 && sf->status>0) {
|
||||||
fprintf(F, "ALLIANZ %d\n", sf->faction->no);
|
fprintf(F, "ALLIANZ %d\n", sf->faction->no);
|
||||||
fprintf(F, "\"%s\";Parteiname\n", sf->faction->name);
|
fprintf(F, "\"%s\";Parteiname\n", sf->faction->name);
|
||||||
|
|
|
@ -439,7 +439,7 @@ prayers(void)
|
||||||
p = findparam(s, u->faction->locale);
|
p = findparam(s, u->faction->locale);
|
||||||
switch(p) {
|
switch(p) {
|
||||||
case P_AURA:
|
case P_AURA:
|
||||||
if(!is_mage) {
|
if(!is_mage(u)) {
|
||||||
cmistake(u, S->s, 214, MSG_EVENT);
|
cmistake(u, S->s, 214, MSG_EVENT);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue