summaryrefslogtreecommitdiffstats
path: root/pacman-c++/server.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'pacman-c++/server.cpp')
-rw-r--r--pacman-c++/server.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/pacman-c++/server.cpp b/pacman-c++/server.cpp
index 39a6ee7..f2c0f1c 100644
--- a/pacman-c++/server.cpp
+++ b/pacman-c++/server.cpp
@@ -170,7 +170,7 @@ QPoint Server::addRandomPoint(Transmission::map_t map, Transmission::field_t typ
170 } 170 }
171 } 171 }
172 172
173 /* remove actors possitions from list 173 /* remove actors positions from list
174 * performance would be better if actors would be listed in visualMap too 174 * performance would be better if actors would be listed in visualMap too
175 * but this isn't possible that easily. see comment in updateMap(map) 175 * but this isn't possible that easily. see comment in updateMap(map)
176 */ 176 */
@@ -497,6 +497,7 @@ void Server::onRoundFinished()
497 497
498void Server::initRoundMap(bool firstPacket) 498void Server::initRoundMap(bool firstPacket)
499{ 499{
500
500 /* create new map */ 501 /* create new map */
501 Transmission::map_t map = Util::createDemoMap(); 502 Transmission::map_t map = Util::createDemoMap();
502 Util::placeActors(map, m_maxplayers, Color::order); 503 Util::placeActors(map, m_maxplayers, Color::order);