Author: ilor
Date: Fri Feb 12 21:27:12 2010
New Revision: 41174
URL: http://svn.gna.org/viewcvs/wesnoth?rev=41174&view=rev
Log:
there's a problem with the previous commit that results in an assert in
tminimap firing, not drawing anything instead makes things work, even if it's
not exactly a proper solution
Modified:
trunk/src/gui/widgets/minimap.cpp
Modified: trunk/src/gui/widgets/minimap.cpp
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/src/gui/widgets/minimap.cpp?rev=41174&r1=41173&r2=41174&view=diff
==============================================================================
--- trunk/src/gui/widgets/minimap.cpp (original)
+++ trunk/src/gui/widgets/minimap.cpp Fri Feb 12 21:27:12 2010
@@ -211,6 +211,7 @@
void tminimap::impl_draw_background(surface& frame_buffer)
{
+ if (!terrain_) return;
assert(terrain_);
DBG_GUI_D << LOG_HEADER
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits