From 0485bd935b235e1162332ca145e7fbb6e5aecb3b Mon Sep 17 00:00:00 2001 From: deva Date: Thu, 14 Jan 2010 14:11:27 +0000 Subject: Made EntityList able to handle several files with same macroname and version number, without corrupting the internal data structure (switched from map to multimap). --- server/src/entitylist.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'server/src/entitylist.h') diff --git a/server/src/entitylist.h b/server/src/entitylist.h index b596c07..9185f67 100644 --- a/server/src/entitylist.h +++ b/server/src/entitylist.h @@ -30,6 +30,7 @@ #include #include + #include "versionstr.h" #include "mutex.h" @@ -40,7 +41,7 @@ /** * The Items contained in the EntityList. */ -typedef std::map EntityListItem; +typedef std::multimap EntityListItem; /** * The EntityList class is intended for entity file caching, so that all entitys -- cgit v1.2.3