mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Fix static_save=false not working & related cleanups
This commit is contained in:
parent
ef0009aea7
commit
2386bfda7e
4 changed files with 21 additions and 16 deletions
|
@ -25,6 +25,7 @@ StaticObject::StaticObject(const ServerActiveObject *s_obj, const v3f &pos_):
|
|||
type(s_obj->getType()),
|
||||
pos(pos_)
|
||||
{
|
||||
assert(s_obj->isStaticAllowed());
|
||||
s_obj->getStaticData(&data);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue