1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

Fix object duplication bug (at least in the most reproducible UFO case)

This commit is contained in:
Perttu Ahola 2013-10-17 00:10:16 +03:00
parent 34e0a0ca0f
commit b3591019ad
2 changed files with 42 additions and 1 deletions

View file

@ -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)
{