summaryrefslogtreecommitdiffstats
path: root/src/Gui/Renderer/RoomListRenderer.cpp
diff options
context:
space:
mode:
authorMatthias Schiffer <matthias@gamezock.de>2010-01-10 12:40:10 +0100
committerMatthias Schiffer <matthias@gamezock.de>2010-01-10 12:40:10 +0100
commit02d3608a8b853a009dfc437dbbfbff72a2393ef2 (patch)
tree741beb9902aa0cef072a2111dce2bfabc0aab9b2 /src/Gui/Renderer/RoomListRenderer.cpp
parentb4adc20ef08257124a01499436f2b8b447adcb33 (diff)
downloadzoomedit-master.tar
zoomedit-master.zip
Only respect floor triangles when picking roomHEADmaster
Diffstat (limited to 'src/Gui/Renderer/RoomListRenderer.cpp')
-rw-r--r--src/Gui/Renderer/RoomListRenderer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Gui/Renderer/RoomListRenderer.cpp b/src/Gui/Renderer/RoomListRenderer.cpp
index 83b0402..8291c4e 100644
--- a/src/Gui/Renderer/RoomListRenderer.cpp
+++ b/src/Gui/Renderer/RoomListRenderer.cpp
@@ -38,7 +38,7 @@ void RoomListRenderer::render_vfunc(const Glib::RefPtr<Gdk::Drawable> &window, G
const Gdk::Rectangle &/*background_area*/, const Gdk::Rectangle &cell_area,
const Gdk::Rectangle &/*expose_area*/, Gtk::CellRendererState /*flags*/) {
- Data::Room *room = reinterpret_cast<Data::Room*>(value.get_value());
+ Data::Room *room = static_cast<Data::Room*>(value.get_value());
int xpad, ypad;
get_padding(xpad, ypad);