[Freeciv-Dev] (PR#13745) savegame crash
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
<URL: http://bugs.freeciv.org/Ticket/Display.html?id=13745 >
> [per - Tue Aug 23 08:03:43 2005]:
>
> On Tue, 23 Aug 2005, Per I. Mathisen wrote:
> > Forwarding from pubserver crash reports. Got several of these. No idea
> > why. - Per
>
> The problem seems to be that game.default_government is G_MAGIC, an
> illegal government, when players are initialized in common/player.c, and
> trying to save this results in an error. This could happen when creating
> new players through barbarian uprising or civil war.
>
> The attached patch should fix it. Committed immediately.
>
> - Per
Actually the real problem is in common/player.c - before PR#13740 and
PR#13723 it was zero and this was ok. Now it is set to G_MAGIC and
nothing changes that later. The game crashes always, not only when
barbarians are created.
(And forget about my patch)
--
mateusz
|
|