diff options
author | Foghrye4 <foghrye4@gmail.com> | 2016-10-08 16:51:25 +0400 |
---|---|---|
committer | Ner'zhul <nerzhul@users.noreply.github.com> | 2016-10-08 14:51:25 +0200 |
commit | ad163ee5c3f7d6ca31e0add052fb76466a9bfcc8 (patch) | |
tree | 6eebdb83bb210f4f57caa4a0f57189d95666d9c2 /src/serverobject.h | |
parent | 9978d0796fa61eabb235d715a56ad6e5396d2e1e (diff) | |
download | minetest-ad163ee5c3f7d6ca31e0add052fb76466a9bfcc8.tar.gz minetest-ad163ee5c3f7d6ca31e0add052fb76466a9bfcc8.tar.bz2 minetest-ad163ee5c3f7d6ca31e0add052fb76466a9bfcc8.zip |
Prevent attached models from disappearing during parent reload (#4128)
Diffstat (limited to 'src/serverobject.h')
-rw-r--r-- | src/serverobject.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/serverobject.h b/src/serverobject.h index 597eb63a8..9f8d5403c 100644 --- a/src/serverobject.h +++ b/src/serverobject.h @@ -167,8 +167,8 @@ public: {} virtual void removeAttachmentChild(int child_id) {} - virtual std::set<int> getAttachmentChildIds() - { return std::set<int>(); } + virtual UNORDERED_SET<int> getAttachmentChildIds() + { return UNORDERED_SET<int>(); } virtual ObjectProperties* accessObjectProperties() { return NULL; } virtual void notifyObjectPropertiesModified() |