Skip to content

Commit

Permalink
GUI2/Miniap: draw any provided canvas data before the minimap
Browse files Browse the repository at this point in the history
  • Loading branch information
Vultraz committed Jul 9, 2017
1 parent 9da6be7 commit ba9fd0b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/gui/widgets/minimap.cpp
Expand Up @@ -227,6 +227,8 @@ const surface minimap::get_image(const int w, const int h) const

void minimap::impl_draw_background(int x_offset, int y_offset)
{
styled_widget::impl_draw_background(x_offset, y_offset);

if(!terrain_)
return;
assert(terrain_);
Expand Down

0 comments on commit ba9fd0b

Please sign in to comment.