From cd1b32f87128de8cc948d4f6cfa1da67291c970b Mon Sep 17 00:00:00 2001 From: totycro Date: Sat, 9 Apr 2011 16:05:52 +0200 Subject: added .proto file and generated sources --- pacman-c++/sceneholder.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pacman-c++/sceneholder.cpp') 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) //qDebug() << "col=" << color; PixmapItem* item = NULL; - if (cur == 0) { // no update + if (cur == Transmission::none) { // no update } else if (cur & Transmission::empty) { PixmapItem* oldItem = visualMap[x][y]; // remove elements (in case it's not an actor) -- cgit v1.2.3