Merge pull request #385 from lethosor/automaterial-cursor

Fix automaterial/box-select cursor color
develop
expwnent 2014-11-09 00:32:32 -05:00
commit c154404a89
1 changed files with 4 additions and 0 deletions

@ -660,6 +660,10 @@ struct jobutils_hook : public df::viewscreen_dwarfmodest
if (!box_select_enabled)
return;
if (ui->main.mode != df::ui_sidebar_mode::Build ||
ui_build_selector->building_type != df::building_type::Construction)
return;
df::coord vport = Gui::getViewportPos();
//Even if selection drawing is disabled, paint a green cursor as we can place box selection anywhere