aboutsummaryrefslogtreecommitdiff
path: root/src/mapblockobject.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mapblockobject.cpp')
-rw-r--r--src/mapblockobject.cpp12
1 files changed, 1 insertions, 11 deletions
diff --git a/src/mapblockobject.cpp b/src/mapblockobject.cpp
index cd12feb0c..8b52b9447 100644
--- a/src/mapblockobject.cpp
+++ b/src/mapblockobject.cpp
@@ -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);
}