[Freeciv-Dev] (PR#20855) Starting techs and team play
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Subject: |
[Freeciv-Dev] (PR#20855) Starting techs and team play |
From: |
"M-Z" <m___z@xxxxx> |
Date: |
Sun, 17 Sep 2006 06:02:48 -0700 |
Reply-to: |
bugs@xxxxxxxxxxx |
<URL: http://bugs.freeciv.org/Ticket/Display.html?id=20855 >
When starting a game with team play enabled (at least two players play in
the same team) game exits immediately after pressing a Start button on the
assertion:
civserver: techtools.c:277: found_new_tech: Assertion
`(tech_exists(tech_found) && get_invention(plr, tech_found) != TECH_KNOWN)
|| tech_found == (200-2)' failed.
That is because global_init_techs variable in MY game.ruleset is not empty.
When server sets up players it uses found_new_tech() to give players their
starting technologies. But this function propagates technologies to
player's team allies. Thus when server want to set up starting
technologies for the ally, he already has those technologies, which makes
this assertion failed.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Freeciv-Dev] (PR#20855) Starting techs and team play,
M-Z <=
|
|