****ertion failed with map enlargement
For map number 8751, size 16x192, water level -2, mountain height 320, map roughness 7, I get an ****ertion failed when enlarging to 40x192 (no rotation).
This small patch cures this, but I am not sure whether it breaks other things:
Index: simworld.cc
===================================================================
--- simworld.cc (revision 2713)
+++ simworld.cc (working copy)
@@ -1363,6 +1363,8 @@
}
}
+ cleanup_karte( old_x, old_y );
+
// smoothing the seam (if possible)
for (sint16 x=1; x<old_x; x++) {
koord k(x,old_y);
@@ -1399,8 +1401,6 @@
}
}
- cleanup_karte( old_x, old_y );
-
// eventuall update origin
switch( einstellungen->get_rotation() ) {
case 1: