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 Mar 18, 2018
1 parent 441ec38 commit 758ad0b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/gui/widgets/minimap.cpp
Expand Up @@ -231,6 +231,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 758ad0b

Please sign in to comment.