From 02d3608a8b853a009dfc437dbbfbff72a2393ef2 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Sun, 10 Jan 2010 12:40:10 +0100 Subject: Only respect floor triangles when picking room --- src/Gui/Renderer/RoomListRenderer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Gui') 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 &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(value.get_value()); + Data::Room *room = static_cast(value.get_value()); int xpad, ypad; get_padding(xpad, ypad); -- cgit v1.2.3