[atlantik-cvs] CVS: kdegames/atlantik/libatlantikclient atlantik_network.cpp, 1.95.2.7, 1.95.2.8

[email protected] Tue, 9 Dec 2003 00:50:24 +0100 (CET)
Newsgroups gmane.comp.kde.devel.atlantik
Message-ID <[email protected]>
Update of /home/kde/kdegames/atlantik/libatlantikclient
In directory office:/tmp/cvs-serv3608/libatlantikclient

Modified Files:
      Tag: atlantik_3_3_branch
	atlantik_network.cpp 
Log Message:
only add estatedetails when it's a user request

Index: atlantik_network.cpp
===================================================================
RCS file: /home/kde/kdegames/atlantik/libatlantikclient/atlantik_network.cpp,v
retrieving revision 1.95.2.7
retrieving revision 1.95.2.8
diff -u -d -r1.95.2.7 -r1.95.2.8
--- atlantik_network.cpp	7 Dec 2003 23:31:51 -0000	1.95.2.7
+++ atlantik_network.cpp	8 Dec 2003 23:50:21 -0000	1.95.2.8
@@ -666,6 +666,10 @@
 					if (estate && !a.isNull())
 						estate->setPrice(a.value().toInt());
 
+					a = e.attributeNode(QString("money"));
+					if (estate && !a.isNull())
+						estate->setMoney(a.value().toInt());
+
 					// Emit signal so GUI implementations can create view(s)
 					// TODO:  port to atlanticcore and create view there
 					if (estate)