[Freeciv-Dev] Re: (PR#12668) Change how to win the game
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Subject: |
[Freeciv-Dev] Re: (PR#12668) Change how to win the game |
From: |
"Per I. Mathisen" <per@xxxxxxxxxxx> |
Date: |
Sun, 24 Apr 2005 15:27:06 -0700 |
Reply-to: |
bugs@xxxxxxxxxxx |
<URL: http://bugs.freeciv.org/Ticket/Display.html?id=12668 >
If we are to keep allied victories, this additional patch is needed.
- Per
Index: server/srv_main.c
===================================================================
RCS file: /home/freeciv/CVS/freeciv/server/srv_main.c,v
retrieving revision 1.245
diff -u -r1.245 srv_main.c
--- server/srv_main.c 13 Apr 2005 18:41:11 -0000 1.245
+++ server/srv_main.c 24 Apr 2005 22:26:06 -0000
@@ -276,7 +288,7 @@
/* quit if all remaining players are allied to each other */
all_allied = TRUE;
players_iterate(pplayer) {
- if (!pplayer->is_alive) {
+ if (!pplayer->is_alive || pplayer->surrendered) {
continue;
}
players_iterate(aplayer) {
|
|