matusik: Backport: Clean up get_invention(). Specify...

[email protected]
Newsgroups gmane.games.freeciv.cvs
Message-ID <[email protected]>
This is an automated notification of a change to freeciv cvs, 
on Wed Jun 29 01:30:30 PDT 2005 = Wed Jun 29 08:30:30 2005 (GMT)
by Mateusz Stefek <[email protected]>

---- Files affected:

freeciv/common tech.c

---- Log message:
      Tag: S2_0

Backport: Clean up get_invention(). Specify that it can be called only with real techs or A_FUTURE. Make update_research() mark A_FUTURE as TECH_REACHABLE when a player cannot research any other tech. Patch by me in PR#13366. Assertion is not so much restrictive as it is in the HEAD branch - probably this won't cause any new bug. Suggestions by Jason.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.