Author: mir3x
Date: Thu Dec 17 20:58:50 2015
New Revision: 31049

URL: http://svn.gna.org/viewcvs/freeciv?rev=31049&view=rev
Log:
Fixed unit's defence strength in tooltips in 
research dialog and city production.

See bug #24176


Modified:
    trunk/client/gui-qt/citydlg.cpp

Modified: trunk/client/gui-qt/citydlg.cpp
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/client/gui-qt/citydlg.cpp?rev=31049&r1=31048&r2=31049&view=diff
==============================================================================
--- trunk/client/gui-qt/citydlg.cpp     (original)
+++ trunk/client/gui-qt/citydlg.cpp     Thu Dec 17 20:58:50 2015
@@ -2684,7 +2684,7 @@
   def_str += "<table><tr><td>" + bold(QString(_("Attack:"))) + " "
              + QString::number(unit->attack_strength)
              + QString("</td><td>") + bold(QString(_("Defense:"))) + " "
-             + QString::number(unit->attack_strength)
+             + QString::number(unit->defense_strength)
              + QString("</td><td>") + bold(QString(_("Move:"))) + " "
              + QString(move_points_text(unit->move_rate, TRUE))
              + QString("</td></tr><tr><td>")


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

Reply via email to