<URL: http://bugs.freeciv.org/Ticket/Display.html?id=40273 >

 Function header of can_player_build_improvement_now() is identical to
header of can_player_build_improvement_later()

 Fix attached.


 - ML

diff -Nurd -X.diff_ignore freeciv/common/improvement.c 
freeciv/common/improvement.c
--- freeciv/common/improvement.c        2007-09-14 14:51:37.000000000 +0300
+++ freeciv/common/improvement.c        2008-06-13 19:47:36.000000000 +0300
@@ -422,9 +422,8 @@
 }
 
 /**************************************************************************
-  Whether player can _eventually_ build given building somewhere -- i.e.,
-  returns TRUE if building is available with current tech OR will be
-  available with future tech.  Returns FALSE if building is obsolete.
+  Whether player can build given building somewhere immediately.
+  Returns FALSE if building is obsolete.
 **************************************************************************/
 bool can_player_build_improvement_now(const struct player *p,
                                      struct impr_type *pimprove)
_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to