summaryrefslogtreecommitdiffstats
path: root/pacman-c++/block.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'pacman-c++/block.cpp')
-rw-r--r--pacman-c++/block.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/pacman-c++/block.cpp b/pacman-c++/block.cpp
index eb51d89..4087662 100644
--- a/pacman-c++/block.cpp
+++ b/pacman-c++/block.cpp
@@ -9,6 +9,8 @@ QMap<Color::Color, QPixmap> Block::m_pixmaps;
9Block::Block(Color::Color color, unsigned int neighbours, QGraphicsItem *parent) 9Block::Block(Color::Color color, unsigned int neighbours, QGraphicsItem *parent)
10 : GameEntity(color, parent), m_neighbours(neighbours) 10 : GameEntity(color, parent), m_neighbours(neighbours)
11{ 11{
12 m_type = Type;
13
12 /* empty object for servers */ 14 /* empty object for servers */
13 if (Constants::server) 15 if (Constants::server)
14 return; 16 return;