Complete.Org: Mailing Lists: Archives: freeciv-dev: December 2005:
[Freeciv-Dev] Re: (PR#14738) [Non-]Fogofwar broken?
Home

[Freeciv-Dev] Re: (PR#14738) [Non-]Fogofwar broken?

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Subject: [Freeciv-Dev] Re: (PR#14738) [Non-]Fogofwar broken?
From: "Egor Vyscrebentsov" <evyscr@xxxxxxxxx>
Date: Tue, 6 Dec 2005 12:53:29 -0800
Reply-to: bugs@xxxxxxxxxxx

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

On Thu, 1 Dec 2005 14:44:23 -0800
Egor Vyscrebentsov <evyscr@xxxxxxxxx> wrote:

EV> SVN trunk 20051201
EV> 
EV> If one loads sav-file which does not contains game.fogofwar field than
EV> server loads file successfully (no errors shown) and gets an assertion
EV> immediately after 'start' command:
EV> civserver: freeciv/server/maphand.c:808: map_is_known_and_seen:
EV> Assertion `(((void) (__builtin_expect (!!((pplayer->player_no) >= 0 &&
EV> (pplayer->player_no) < sizeof((ptile->tile_seen[vlayer]).vec) * 8), 1) ?
EV> 0 : (__assert_fail ("(pplayer->player_no) >= 0 && (pplayer->player_no) <
EV> sizeof((ptile->tile_seen[vlayer]).vec) * 8",
EV> "/home/freeciv/freeciv/server/maphand.c", 808, __PRETTY_FUNCTION__),
EV> 0))), ((ptile->tile_seen[vlayer]).vec[((pplayer->player_no) / 8)] & (1u
EV> << ((pplayer->player_no) & 0x7))) != 0) == (map_get_player_tile(ptile,
EV> pplayer)->seen_count[vlayer] > 0)' failed.

Ok, had the same crash all the time with fogofwar == 0. Broken [non-]fogofwar?

On Mon, 5 Dec 2005 14:19:00 -0800
Jason Short <jdorje@xxxxxxxxxxxxxxxxxxxxx> wrote:

JS> Patch wanted.

Somebody who knows fog-of-war code is needed. And he is not me.

--
Thanks, evyscr





[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] Re: (PR#14738) [Non-]Fogofwar broken?, Egor Vyscrebentsov <=