diff options
Diffstat (limited to 'pacman-c++/server.cpp')
| -rw-r--r-- | pacman-c++/server.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pacman-c++/server.cpp b/pacman-c++/server.cpp index e09d126..a045cad 100644 --- a/pacman-c++/server.cpp +++ b/pacman-c++/server.cpp | |||
| @@ -23,8 +23,12 @@ bool Server::run() | |||
| 23 | if (!waitForClientConnections()) | 23 | if (!waitForClientConnections()) |
| 24 | return false; | 24 | return false; |
| 25 | 25 | ||
| 26 | qDebug() << "[Server] Creating map..."; | ||
| 26 | Transmission::map_t map = Util::createDemoMap(); | 27 | Transmission::map_t map = Util::createDemoMap(); |
| 28 | Util::placeActors(map, m_maxplayers, Color::order); | ||
| 29 | Util::makePoints(map); | ||
| 27 | updateMap(map); | 30 | updateMap(map); |
| 31 | sendUpdate(map); | ||
| 28 | Util::deleteMap(map); | 32 | Util::deleteMap(map); |
| 29 | map = NULL; | 33 | map = NULL; |
| 30 | 34 | ||
