Author: mir3x
Date: Sun Feb 12 20:00:57 2017
New Revision: 35008

URL: http://svn.gna.org/viewcvs/freeciv?rev=35008&view=rev
Log:
Qt client - added information about sharing vision to player dialog

See gna patch #8115


Modified:
    branches/S2_5/client/gui-qt/plrdlg.cpp

Modified: branches/S2_5/client/gui-qt/plrdlg.cpp
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S2_5/client/gui-qt/plrdlg.cpp?rev=35008&r1=35007&r2=35008&view=diff
==============================================================================
--- branches/S2_5/client/gui-qt/plrdlg.cpp      (original)
+++ branches/S2_5/client/gui-qt/plrdlg.cpp      Sun Feb 12 20:00:57 2017
@@ -476,6 +476,9 @@
                    + QString(diplstate_text(static_cast<diplstate_type>(i)))
                    + ": "  + QString("</b>") + nl;
           added = true;
+        }
+        if (gives_shared_vision(pplayer, other)) {
+          ally_str = ally_str + "(◐‿◑)";
         }
         ally_str = ally_str + nation_plural_for_player(other) + ", ";
         entry_exist = true;


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

Reply via email to