diff options
| author | manuel <manuel@mausz.at> | 2011-05-03 01:00:51 +0200 |
|---|---|---|
| committer | manuel <manuel@mausz.at> | 2011-05-03 01:00:51 +0200 |
| commit | e54ccad07e256ba877bd41d70bd358bd0085bd1e (patch) | |
| tree | 4abe7d9af5784ad5f5bfbfc6cdab4c652912875a /pacman-c++/mainwidget.cpp | |
| parent | ce94357ba958fd5692eadedab48f1f7d80dc0999 (diff) | |
| download | foop-e54ccad07e256ba877bd41d70bd358bd0085bd1e.tar.gz foop-e54ccad07e256ba877bd41d70bd358bd0085bd1e.tar.bz2 foop-e54ccad07e256ba877bd41d70bd358bd0085bd1e.zip | |
- add endless wait for players
- add eating order randomization
Diffstat (limited to 'pacman-c++/mainwidget.cpp')
| -rw-r--r-- | pacman-c++/mainwidget.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pacman-c++/mainwidget.cpp b/pacman-c++/mainwidget.cpp index 8745bf9..49ddf7a 100644 --- a/pacman-c++/mainwidget.cpp +++ b/pacman-c++/mainwidget.cpp | |||
| @@ -31,7 +31,7 @@ MainWidget::MainWidget(QWidget *parent) | |||
| 31 | /* wait for the server to send the first map update (initial map) | 31 | /* wait for the server to send the first map update (initial map) |
| 32 | * WARNING: this will block the gui | 32 | * WARNING: this will block the gui |
| 33 | */ | 33 | */ |
| 34 | m_socket->waitForReadyRead(); | 34 | m_socket->waitForReadyRead(-1); |
| 35 | tick(); | 35 | tick(); |
| 36 | 36 | ||
| 37 | qDebug() << "[Connect] mycolor=" << m_scene->color(); | 37 | qDebug() << "[Connect] mycolor=" << m_scene->color(); |
