Complete.Org: Mailing Lists: Archives: freeciv-dev: June 2005:
[Freeciv-Dev] (PR#13338) had_embassy[] is to small in found_new_tech
Home

[Freeciv-Dev] (PR#13338) had_embassy[] is to small in found_new_tech

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Subject: [Freeciv-Dev] (PR#13338) had_embassy[] is to small in found_new_tech
From: "Mateusz Stefek" <mstefek@xxxxxxxxx>
Date: Sun, 26 Jun 2005 04:14:01 -0700
Reply-to: bugs@xxxxxxxxxxx

<URL: http://bugs.freeciv.org/Ticket/Display.html?id=13338 >

See subject
--
mateusz
Index: plrhand.c
===================================================================
RCS file: /home/freeciv/CVS/freeciv/server/plrhand.c,v
retrieving revision 1.330.2.25
diff -u -r1.330.2.25 plrhand.c
--- plrhand.c   25 Jun 2005 08:30:41 -0000      1.330.2.25
+++ plrhand.c   26 Jun 2005 11:11:28 -0000
@@ -270,7 +270,7 @@
 {
   bool bonus_tech_hack = FALSE;
   bool was_first = FALSE;
-  bool had_embassy[MAX_NUM_PLAYERS];
+  bool had_embassy[MAX_NUM_PLAYERS + MAX_NUM_BARBARIANS];
   struct city *pcity;
 
   players_iterate(aplr) {

[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] (PR#13338) had_embassy[] is to small in found_new_tech, Mateusz Stefek <=