diff options
Diffstat (limited to 'pacman-c++/sceneholder.cpp')
| -rw-r--r-- | pacman-c++/sceneholder.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pacman-c++/sceneholder.cpp b/pacman-c++/sceneholder.cpp index dbc3ca5..0cb7d15 100644 --- a/pacman-c++/sceneholder.cpp +++ b/pacman-c++/sceneholder.cpp | |||
| @@ -34,7 +34,7 @@ void SceneHolder::updateMap(const Transmission::map_t& map) | |||
| 34 | //qDebug() << "col=" << color; | 34 | //qDebug() << "col=" << color; |
| 35 | 35 | ||
| 36 | PixmapItem* item = NULL; | 36 | PixmapItem* item = NULL; |
| 37 | if (cur == 0) { // no update | 37 | if (cur == Transmission::none) { // no update |
| 38 | } else if (cur & Transmission::empty) { | 38 | } else if (cur & Transmission::empty) { |
| 39 | PixmapItem* oldItem = visualMap[x][y]; | 39 | PixmapItem* oldItem = visualMap[x][y]; |
| 40 | // remove elements (in case it's not an actor) | 40 | // remove elements (in case it's not an actor) |
