pingus-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Pingus-CVS] CVS: Games/Pingus/src/worldobjsdata groundpiece_data.cxx,1


From: grumbel
Subject: [Pingus-CVS] CVS: Games/Pingus/src/worldobjsdata groundpiece_data.cxx,1.10,1.11
Date: 18 Feb 2003 11:28:43 -0000

Update of /usr/local/cvsroot/Games/Pingus/src/worldobjsdata
In directory dark:/tmp/cvs-serv12787/worldobjsdata

Modified Files:
        groundpiece_data.cxx 
Log Message:
removed a bunch of not so usefull output messages


Index: groundpiece_data.cxx
===================================================================
RCS file: 
/usr/local/cvsroot/Games/Pingus/src/worldobjsdata/groundpiece_data.cxx,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- groundpiece_data.cxx        18 Feb 2003 10:14:52 -0000      1.10
+++ groundpiece_data.cxx        18 Feb 2003 11:28:41 -0000      1.11
@@ -40,10 +40,13 @@
   std::string gptype_string;
   if (XMLhelper::get_prop(cur, "type", gptype_string))
     {
-      gptype = Groundtype::string_to_type (gptype_string);
+      if (gptype_string != "groundpiece")
+        gptype = Groundtype::string_to_type (gptype_string);
     }
   else
-    std::cout << "XMLPLF: groundtype empty, which might be ok." << std::endl;
+    {
+      //std::cout << "XMLPLF: groundtype empty, which might be ok." << 
std::endl;
+    }
 
   XMLFileReader reader(doc, cur);
   reader.read_vector("position", pos);





reply via email to

[Prev in Thread] Current Thread [Next in Thread]