From b3591019ad7e9bdce2a0a20cbbf64a769c1717c2 Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Thu, 17 Oct 2013 00:10:16 +0300 Subject: Fix object duplication bug (at least in the most reproducible UFO case) --- src/staticobject.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/staticobject.h') 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) { -- cgit v1.2.3