forked from github/server
- Fixes Stirb-Erweiterung
This commit is contained in:
parent
f2788aba4a
commit
9122b84f73
|
@ -1032,7 +1032,7 @@ transfer_faction(faction *f, faction *f2)
|
||||||
unit *u, *un;
|
unit *u, *un;
|
||||||
|
|
||||||
for (u = f->units; u;) {
|
for (u = f->units; u;) {
|
||||||
un = u->next;
|
un = u->nextF;
|
||||||
if(!unit_has_cursed_item(u)
|
if(!unit_has_cursed_item(u)
|
||||||
&& !has_skill(u, SK_MAGIC)
|
&& !has_skill(u, SK_MAGIC)
|
||||||
&& !has_skill(u, SK_ALCHEMY)) {
|
&& !has_skill(u, SK_ALCHEMY)) {
|
||||||
|
@ -1079,7 +1079,7 @@ quit(void)
|
||||||
#else
|
#else
|
||||||
#warning ENHANCED_QUIT defined without ALLIANCES
|
#warning ENHANCED_QUIT defined without ALLIANCES
|
||||||
#endif
|
#endif
|
||||||
} else if(alliedfaction(NULL, f, f2, HELP_MONEY)) {
|
} else if(!alliedfaction(NULL, f, f2, HELP_MONEY)) {
|
||||||
cmistake(u, S->s, 316, MSG_EVENT);
|
cmistake(u, S->s, 316, MSG_EVENT);
|
||||||
} else {
|
} else {
|
||||||
transfer_faction(f,f2);
|
transfer_faction(f,f2);
|
||||||
|
|
|
@ -46,7 +46,7 @@
|
||||||
#define ROIBONUS 4
|
#define ROIBONUS 4
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define ENHANCED_QUIT
|
#define ENHANCED_QUIT
|
||||||
#define ALLIANCES
|
#define ALLIANCES
|
||||||
#undef ALLIANCEJOIN
|
#undef ALLIANCEJOIN
|
||||||
#define AUTOALLIANCE (HELP_FIGHT)
|
#define AUTOALLIANCE (HELP_FIGHT)
|
||||||
|
|
Loading…
Reference in New Issue