Author: mir3x
Date: Sun Feb 12 20:00:38 2017
New Revision: 35006

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

See gna patch #8115


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

Modified: branches/S3_0/client/gui-qt/plrdlg.cpp
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S3_0/client/gui-qt/plrdlg.cpp?rev=35006&r1=35005&r2=35006&view=diff
==============================================================================
--- branches/S3_0/client/gui-qt/plrdlg.cpp      (original)
+++ branches/S3_0/client/gui-qt/plrdlg.cpp      Sun Feb 12 20:00:38 2017
@@ -485,6 +485,9 @@
                                  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