mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-01 09:25:45 +00:00
GUI2/Miniap: draw any provided canvas data before the minimap
This commit is contained in:
parent
441ec38adf
commit
758ad0bf23
@ -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_);
|
||||
|
Loading…
x
Reference in New Issue
Block a user