diff options
Diffstat (limited to 'src/gui/viewport.cpp')
-rw-r--r-- | src/gui/viewport.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gui/viewport.cpp b/src/gui/viewport.cpp index b6d805b11..fbe056d2a 100644 --- a/src/gui/viewport.cpp +++ b/src/gui/viewport.cpp @@ -28,6 +28,8 @@ #include "sdlshared.h" #include "textmanager.h" +#include "resources/mapitemtype.h" + #include "resources/map/map.h" #include "resources/map/mapitem.h" #include "resources/map/maptype.h" @@ -928,7 +930,7 @@ void Viewport::mouseMoved(MouseEvent &event A_UNUSED) / mMap->getTileHeight(); mHoverSign = specialLayer->getTile(mouseTileX, mouseTileY); - if (mHoverSign && mHoverSign->getType() != MapItem::EMPTY) + if (mHoverSign && mHoverSign->getType() != MapItemType::EMPTY) { if (!mHoverSign->getComment().empty()) { |