Complete.Org: Mailing Lists: Archives: freeciv-dev: November 2003:
[Freeciv-Dev] (PR#7002) Re: core file on civserver, http://civserver.fre
Home

[Freeciv-Dev] (PR#7002) Re: core file on civserver, http://civserver.fre

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: undisclosed-recipients: ;
Subject: [Freeciv-Dev] (PR#7002) Re: core file on civserver, http://civserver.freeciv.org/games/252228
From: "Raimar Falke" <i-freeciv-lists@xxxxxxxxxxxxx>
Date: Sun, 30 Nov 2003 12:52:10 -0800
Reply-to: rt@xxxxxxxxxxx

<URL: http://rt.freeciv.org/Ticket/Display.html?id=7002 >

On Sun, Nov 30, 2003 at 11:32:17AM -0800, freeciv@xxxxxxxxxxxxxxxxxxxxx wrote:
> #0  0x08094129 in city_got_building (pcity=0x0, id=21) at city.c:474
> 474       return (pcity->improvements[id] != I_NONE);
> (gdb) #0  0x08094129 in city_got_building (pcity=0x0, id=21) at city.c:474
> #1  0x080656ea in handle_diplomacy_accept_treaty (pplayer=0x8222668, 
>     packet=0x82bd968) at diplhand.c:221
> #2  0x0804d78e in handle_packet_input (pconn=0x80fec20, packet=0x82bd968, 
>     type=49) at srv_main.c:939
> #3  0x0808d9d0 in sniff_packets () at sernet.c:616
> #4  0x0804e3b1 in main_loop () at srv_main.c:1504
> #5  0x0804e575 in srv_main () at srv_main.c:1624
> #6  0x08049b80 in main (argc=9, argv=0xbfffe084) at civserver.c:157
> #7  0x400641c4 in __libc_start_main () from /lib/libc.so.6

This is a mistake caused by the delta patch.

        Raimar

-- 
 email: rf13@xxxxxxxxxxxxxxxxx
  "brand memory are for windows users that think their stability
   problems come from the memory"
    -- bomek in #freeciv

Index: server/diplhand.c
===================================================================
RCS file: /home/freeciv/CVS/freeciv/server/diplhand.c,v
retrieving revision 1.76
diff -u -u -r1.76 diplhand.c
--- server/diplhand.c   2003/11/28 17:37:22     1.76
+++ server/diplhand.c   2003/11/30 20:50:42
@@ -186,12 +186,6 @@
                            "you can't accept treaty."));
            return;
          }
-         if (city_got_building(pcity, B_PALACE)) {
-           notify_player(pplayer,
-                         _("Game: Your capital (%s) is requested, "
-                           "you can't accept treaty."), pcity->name);
-           return;
-         }
          break;
        default:
          ; /* nothing */

[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] (PR#7002) Re: core file on civserver, http://civserver.freeciv.org/games/252228, Raimar Falke <=