From 98f4a31e1a359a69dbcc0fa4055f36cefb6d4e02 Mon Sep 17 00:00:00 2001 From: totycro Date: Mon, 11 Apr 2011 12:09:04 +0200 Subject: Added basic game logic --- pacman-c++/mainwidget.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pacman-c++/mainwidget.cpp') diff --git a/pacman-c++/mainwidget.cpp b/pacman-c++/mainwidget.cpp index 6c4012e..df624da 100644 --- a/pacman-c++/mainwidget.cpp +++ b/pacman-c++/mainwidget.cpp @@ -237,8 +237,8 @@ Color::Color MainWidget::connectToServer() // connect to server m_socket = new QTcpSocket(this); - m_socket->connectToHost(srv, Constants::port); - bool worked = m_socket->waitForConnected(Constants::connection_timeout); + m_socket->connectToHost(srv, Constants::Networking::port); + bool worked = m_socket->waitForConnected(Constants::Networking::connection_timeout); if (worked) { // additional init -- cgit v1.2.3