Index: common/WorldMap.cpp
===================================================================
--- common/WorldMap.cpp	(revision c044a36f579106497263bfffc4f0c15ddef7a1d7)
+++ common/WorldMap.cpp	(revision b72ed16e0ea723b394ce45b4dfae0158f34d2923)
@@ -227,4 +227,5 @@
          if (line.size() > 0)
          {
+            cout << "row: " << row << endl;
             cout << "line: " << line << endl;
 
@@ -241,6 +242,8 @@
                {
                   getline(iss, token, ',');
+                  type = atoi(token.c_str());
+
+                  cout << "x: " << x << endl;
                   cout << "token: " << token << endl;
-                  type = atoi(token.c_str());
                   cout << "type: " << type << endl;
 
@@ -257,7 +260,4 @@
                   }
 
-                  cout << "About to set element" << endl;
-                  cout << "x: " << x << endl;
-                  cout << "row: " << row << endl;
                   m->setElement(x, row, terrain);
                }
