[Freeciv-Dev] (PR#14738) game.fogofwar absence causes server crash
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Subject: |
[Freeciv-Dev] (PR#14738) game.fogofwar absence causes server crash |
From: |
"Egor Vyscrebentsov" <evyscr@xxxxxxxxx> |
Date: |
Thu, 1 Dec 2005 14:44:23 -0800 |
Reply-to: |
bugs@xxxxxxxxxxx |
<URL: http://bugs.freeciv.org/Ticket/Display.html?id=14738 >
Good daytime!
SVN trunk 20051201
If one loads sav-file which does not contains game.fogofwar field than
server loads file successfully (no errors shown) and gets an assertion
immediately after 'start' command:
civserver: freeciv/server/maphand.c:808: map_is_known_and_seen:
Assertion `(((void) (__builtin_expect (!!((pplayer->player_no) >= 0 &&
(pplayer->player_no) < sizeof((ptile->tile_seen[vlayer]).vec) * 8), 1) ?
0 : (__assert_fail ("(pplayer->player_no) >= 0 && (pplayer->player_no) <
sizeof((ptile->tile_seen[vlayer]).vec) * 8",
"/home/freeciv/freeciv/server/maphand.c", 808, __PRETTY_FUNCTION__),
0))), ((ptile->tile_seen[vlayer]).vec[((pplayer->player_no) / 8)] & (1u
<< ((pplayer->player_no) & 0x7))) != 0) == (map_get_player_tile(ptile,
pplayer)->seen_count[vlayer] > 0)' failed.
--
Thanks, evyscr
- [Freeciv-Dev] (PR#14738) game.fogofwar absence causes server crash,
Egor Vyscrebentsov <=
|
|