summaryrefslogtreecommitdiff
path: root/src/staticobject.h
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2013-10-17 00:10:16 +0300
committerPerttu Ahola <celeron55@gmail.com>2013-10-17 00:10:16 +0300
commitb3591019ad7e9bdce2a0a20cbbf64a769c1717c2 (patch)
treea323058cdc2de0ec33c53a410397af95d6d22ee1 /src/staticobject.h
parent34e0a0ca0fbb6826ea0c583295f79307b1a754c6 (diff)
downloadminetest-b3591019ad7e9bdce2a0a20cbbf64a769c1717c2.tar.gz
minetest-b3591019ad7e9bdce2a0a20cbbf64a769c1717c2.tar.bz2
minetest-b3591019ad7e9bdce2a0a20cbbf64a769c1717c2.zip
Fix object duplication bug (at least in the most reproducible UFO case)
Diffstat (limited to 'src/staticobject.h')
-rw-r--r--src/staticobject.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/staticobject.h b/src/staticobject.h
index 640747e96..575c15b18 100644
--- a/src/staticobject.h
+++ b/src/staticobject.h
@@ -54,7 +54,7 @@ class StaticObjectList
public:
/*
Inserts an object to the container.
- Id must be unique or 0.
+ Id must be unique (active) or 0 (stored).
*/
void insert(u16 id, StaticObject obj)
{