Author: mir3x
Date: Fri Nov 20 17:16:53 2015
New Revision: 30713

URL: http://svn.gna.org/viewcvs/freeciv?rev=30713&view=rev
Log:
Changed 'units filter -> Full MP' behaviour to include units with more than
default movement points.
Reported by Jacob Nevins <jtn>

See bug #24078


Modified:
    branches/S2_6/client/gui-qt/menu.cpp

Modified: branches/S2_6/client/gui-qt/menu.cpp
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S2_6/client/gui-qt/menu.cpp?rev=30713&r1=30712&r2=30713&view=diff
==============================================================================
--- branches/S2_6/client/gui-qt/menu.cpp        (original)
+++ branches/S2_6/client/gui-qt/menu.cpp        Fri Nov 20 17:16:53 2015
@@ -313,7 +313,7 @@
   if (punit->hp == punit->utype->hp && u_filter.full_hp) {
     unit_focus_add(punit);
   }
-  if (punit->moves_left  == punit->utype->move_rate && u_filter.full_mp) {
+  if (punit->moves_left  >= punit->utype->move_rate && u_filter.full_mp) {
     unit_focus_add(punit);
   }
   if (u_filter.any){


_______________________________________________
Freeciv-commits mailing list
Freeciv-commits@gna.org
https://mail.gna.org/listinfo/freeciv-commits

Reply via email to