mirror of
https://github.com/minetest/minetest.git
synced 2024-11-23 16:13:46 +01:00
Fix missing const in ServerActiveObject::getStaticData
This fixes #5033 Signed-off-by: Loic Blot <loic.blot@unix-experience.fr>
This commit is contained in:
parent
8002366097
commit
ee6d8c10ce
@ -119,7 +119,7 @@ public:
|
|||||||
when it is created (converted from static to active - actually
|
when it is created (converted from static to active - actually
|
||||||
the data is the static form)
|
the data is the static form)
|
||||||
*/
|
*/
|
||||||
virtual void getStaticData(std::string *result)
|
virtual void getStaticData(std::string *result) const
|
||||||
{
|
{
|
||||||
assert(isStaticAllowed());
|
assert(isStaticAllowed());
|
||||||
*result = "";
|
*result = "";
|
||||||
|
Loading…
Reference in New Issue
Block a user