]> git.lizzy.rs Git - minetest.git/blobdiff - src/mapblockobject.cpp
added dedicated server build without irrlicht
[minetest.git] / src / mapblockobject.cpp
index cd12feb0c7eb0faa7e917d6f8b1e6a249416544e..8b52b9447f36599a916655e88d18b45d116662ba 100644 (file)
@@ -339,17 +339,7 @@ void MapBlockObjectList::update(std::istream &is, u8 version,
                                        " id="<<id
                                        <<std::endl;*/
 
-                       if(type_id == MAPBLOCKOBJECT_TYPE_TEST)
-                       {
-                               // The constructors of objects shouldn't need
-                               // any more parameters than this.
-                               obj = new TestObject(m_block, id, pos);
-                       }
-                       else if(type_id == MAPBLOCKOBJECT_TYPE_TEST2)
-                       {
-                               obj = new Test2Object(m_block, id, pos);
-                       }
-                       else if(type_id == MAPBLOCKOBJECT_TYPE_SIGN)
+                       if(type_id == MAPBLOCKOBJECT_TYPE_SIGN)
                        {
                                obj = new SignObject(m_block, id, pos);
                        }