[Freeciv-Dev] (PR#10042) what happened to future technologies?
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
<URL: http://rt.freeciv.org/Ticket/Display.html?id=10042 >
> [jdorje - Sat Sep 11 03:56:13 2004]:
> Now when I finish all available research, I am continuously researching
> "None". Every now and then the research dialog pops up as if I've
> completed some research, but I can see no sign anywhere else of
> acquiring future techs (nothing in the message dialog that I can find,
> and they're not listed on the tech list (although I'm not sure they
> should be)).
This patch fixes the above problem. The research dialog does not popup
to inform you of the new future tech option... I am not sure if this was
the old behaviour or not.
- Per
Index: server/plrhand.c
===================================================================
RCS file: /home/freeciv/CVS/freeciv/server/plrhand.c,v
retrieving revision 1.330
diff -u -r1.330 plrhand.c
--- server/plrhand.c 29 Sep 2004 02:24:24 -0000 1.330
+++ server/plrhand.c 9 Oct 2004 17:39:56 -0000
@@ -344,6 +344,9 @@
} else {
if (plr->ai.control || !was_discovery) {
choose_random_tech(plr);
+ } else if (is_future_tech(tech_found)) {
+ /* Continue researching future tech. */
+ plr->research.researching = A_FUTURE;
} else {
plr->research.researching = A_UNSET;
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Freeciv-Dev] (PR#10042) what happened to future technologies?,
Per I. Mathisen <=
|
|