diff options
| author | totycro <totycro@unknown-horizons.org> | 2011-04-09 16:05:52 +0200 |
|---|---|---|
| committer | totycro <totycro@unknown-horizons.org> | 2011-04-09 16:05:52 +0200 |
| commit | cd1b32f87128de8cc948d4f6cfa1da67291c970b (patch) | |
| tree | 7b43fe71a08b9d1fc82faac6d06ce0dc31b672ef /pacman-c++/sceneholder.cpp | |
| parent | 4c8c448a6de8b33e4a64271d6b2d0d25e00043ab (diff) | |
| download | foop-cd1b32f87128de8cc948d4f6cfa1da67291c970b.tar.gz foop-cd1b32f87128de8cc948d4f6cfa1da67291c970b.tar.bz2 foop-cd1b32f87128de8cc948d4f6cfa1da67291c970b.zip | |
added .proto file and generated sources
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) |
