Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/entity.cc')
-rw-r--r--src/core/entity.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/entity.cc b/src/core/entity.cc
index bc1c698..c45825b 100644
--- a/src/core/entity.cc
+++ b/src/core/entity.cc
@@ -23,7 +23,7 @@ std::map<unsigned int, Entity *> Entity::registry;
void Entity::add(Entity *ent)
{
- std::map<unsigned int, Entity*>::iterator it;
+ Registry::iterator it;
unsigned int id = 1;
for (it = registry.begin(); it != registry.end() && id == (*it).second->id(); it++) {
id++;