[atlantik-cvs] CVS: kdegames/atlantik/libatlantic estate.cpp,1.6,1.6.8.1 player.cpp,1.9,1.9.8.1

[email protected]
Newsgroups gmane.comp.kde.devel.atlantik
Message-ID <[email protected]>
Update of /home/kde/kdegames/atlantik/libatlantic
In directory office:/tmp/cvs-serv10511/libatlantic

Modified Files:
      Tag: KDE_3_1_BRANCH
	estate.cpp player.cpp 
Log Message:
valgrind fixes

Index: estate.cpp
===================================================================
RCS file: /home/kde/kdegames/atlantik/libatlantic/estate.cpp,v
retrieving revision 1.6
retrieving revision 1.6.8.1
diff -u -d -r1.6 -r1.6.8.1
--- estate.cpp	30 Jun 2002 23:32:27 -0000	1.6
+++ estate.cpp	27 Dec 2002 01:37:20 -0000	1.6.8.1
@@ -26,6 +26,7 @@
 	m_owner = 0;
 	m_houses = 0;
 	m_price = 0;
+	m_estateGroup = 0;
 	m_changed = m_canBeOwned = m_canBuyHouses = m_canSellHouses = m_isMortgaged = m_canToggleMortgage = false;
 	m_bgColor = QColor();
 	m_color = QColor();

Index: player.cpp
===================================================================
RCS file: /home/kde/kdegames/atlantik/libatlantic/player.cpp,v
retrieving revision 1.9
retrieving revision 1.9.8.1
diff -u -d -r1.9 -r1.9.8.1
--- player.cpp	7 Jul 2002 02:35:58 -0000	1.9
+++ player.cpp	27 Dec 2002 01:37:20 -0000	1.9.8.1
@@ -21,6 +21,8 @@
 Player::Player() : QObject()
 {
 	m_location = 0;
+	m_money = 0;
+	m_name = "";
 	m_changed = m_isSelf = false;
 	m_hasTurn = m_canRoll = m_canBuy = m_inJail = false;
 }
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.