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