mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-11 17:51:04 +00:00
day/night working client side
This commit is contained in:
parent
240499dc2c
commit
0ca9423b8b
22 changed files with 955 additions and 676 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue