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:
parent
34e0a0ca0f
commit
b3591019ad
2 changed files with 42 additions and 1 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue