- Fixes Stirb-Erweiterung

This commit is contained in:
Christian Schlittchen 2003-04-27 07:44:05 +00:00
parent f2788aba4a
commit 9122b84f73
2 changed files with 3 additions and 3 deletions

View File

@ -1032,7 +1032,7 @@ transfer_faction(faction *f, faction *f2)
unit *u, *un;
for (u = f->units; u;) {
un = u->next;
un = u->nextF;
if(!unit_has_cursed_item(u)
&& !has_skill(u, SK_MAGIC)
&& !has_skill(u, SK_ALCHEMY)) {
@ -1079,7 +1079,7 @@ quit(void)
#else
#warning ENHANCED_QUIT defined without ALLIANCES
#endif
} else if(alliedfaction(NULL, f, f2, HELP_MONEY)) {
} else if(!alliedfaction(NULL, f, f2, HELP_MONEY)) {
cmistake(u, S->s, 316, MSG_EVENT);
} else {
transfer_faction(f,f2);

View File

@ -46,7 +46,7 @@
#define ROIBONUS 4
#endif
#define ENHANCED_QUIT
#define ENHANCED_QUIT
#define ALLIANCES
#undef ALLIANCEJOIN
#define AUTOALLIANCE (HELP_FIGHT)