QTfrontend/hwmap.cpp
changeset 4494 9585435e20f7
parent 4489 c4ca9ced258b
child 4534 395278890955
--- a/QTfrontend/hwmap.cpp	Wed Dec 08 22:35:29 2010 +0100
+++ b/QTfrontend/hwmap.cpp	Thu Dec 09 11:59:07 2010 +0300
@@ -68,6 +68,7 @@
     {
         case MAPGEN_MAZE:
             SendIPC(QString("e$maze_size %1").arg(m_maze_size).toLatin1());
+            break;
 
         case MAPGEN_DRAWN:
         {
@@ -75,10 +76,11 @@
             while(data.size() > 0)
             {
                 QByteArray tmp = data;
-                tmp.truncate(230);
+                tmp.truncate(200);
                 SendIPC("edraw " + tmp);
-                data.remove(0, 230);
+                data.remove(0, 200);
             }
+            break;
         }
         default: ;
     }