diff options
author | Stijn Buys <ingar@osirion.org> | 2013-02-21 20:01:36 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2013-02-21 20:01:36 +0000 |
commit | 98699db58a16f0831de66fe86302ebd1b1cb5507 (patch) | |
tree | 4d8def823ad6ffb11d44d9e09f65a44623c36854 /src/core/gameconnection.cc | |
parent | 283a59e352d252e03793abec8d5e59ab50497f0c (diff) |
Replaced iterator post-increment operators with pre-increment operators.
Diffstat (limited to 'src/core/gameconnection.cc')
-rw-r--r-- | src/core/gameconnection.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/gameconnection.cc b/src/core/gameconnection.cc index b4778e0..de0b4e5 100644 --- a/src/core/gameconnection.cc +++ b/src/core/gameconnection.cc @@ -227,7 +227,7 @@ void GameConnection::frame(unsigned long timestamp) connection_network->frame(); // update client-sde state - for (Entity::Registry::iterator it = Entity::registry().begin(); it != Entity::registry().end(); it++) { + for (Entity::Registry::iterator it = Entity::registry().begin(); it != Entity::registry().end(); ++it) { Entity *entity = (*it).second; if (entity->type() == Entity::Projectile) { |