diff options
Diffstat (limited to 'pacman-c++/point.cpp')
| -rw-r--r-- | pacman-c++/point.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pacman-c++/point.cpp b/pacman-c++/point.cpp index 4f76007..35266f6 100644 --- a/pacman-c++/point.cpp +++ b/pacman-c++/point.cpp | |||
| @@ -10,6 +10,10 @@ namespace | |||
| 10 | Point::Point(QGraphicsItem *parent) | 10 | Point::Point(QGraphicsItem *parent) |
| 11 | : PixmapItem(parent) | 11 | : PixmapItem(parent) |
| 12 | { | 12 | { |
| 13 | /* empty object for servers */ | ||
| 14 | if (Constants::server) | ||
| 15 | return; | ||
| 16 | |||
| 13 | if (pixmap == NULL) | 17 | if (pixmap == NULL) |
| 14 | pixmap = new QPixmap(":/points"); | 18 | pixmap = new QPixmap(":/points"); |
| 15 | setPixmap(*pixmap); | 19 | setPixmap(*pixmap); |
