[atlantik-cvs] CVS: kdegames/atlantik/client atlantik.cpp, 1.162, 1.163

[email protected] Fri, 28 May 2004 20:15:37 +0200
Newsgroups gmane.comp.kde.devel.atlantik
Message-ID <[email protected]>
Update of /home/kde/kdegames/atlantik/client
In directory office:/tmp/cvs-serv10993/client

Modified Files:
	atlantik.cpp 
Log Message:
this version shouldn't be used on development servers, but crashing on them shouldn't really happen either

Index: atlantik.cpp
===================================================================
RCS file: /home/kde/kdegames/atlantik/client/atlantik.cpp,v
retrieving revision 1.162
retrieving revision 1.163
diff -u -d -r1.162 -r1.163
--- atlantik.cpp	23 May 2004 23:29:53 -0000	1.162
+++ atlantik.cpp	28 May 2004 18:15:35 -0000	1.163
@@ -339,6 +339,9 @@
 	if (m_selectConfiguration)
 		return;
 
+	if ( ! ( m_atlanticCore && m_atlanticCore->playerSelf() && m_atlanticCore->gameSelf() ) )
+		return;
+
 	if (m_selectGame)
 	{
 		delete m_selectGame;