diff options
author | Chuck Miller <shadowmil@gmail.com> | 2009-10-04 16:03:21 -0400 |
---|---|---|
committer | Chuck Miller <shadowmil@gmail.com> | 2009-10-04 16:03:21 -0400 |
commit | 9a35609facf9fbb511467d607f83ecd1f4d1ee1b (patch) | |
tree | a3bb1143e92fe4ffd9d6acb31e63d902c6166a46 | |
parent | 4cbf5877c9ca5d3e5754e568fbadd670fe1f7ff6 (diff) | |
download | manaserv-9a35609facf9fbb511467d607f83ecd1f4d1ee1b.tar.gz manaserv-9a35609facf9fbb511467d607f83ecd1f4d1ee1b.tar.bz2 manaserv-9a35609facf9fbb511467d607f83ecd1f4d1ee1b.tar.xz manaserv-9a35609facf9fbb511467d607f83ecd1f4d1ee1b.zip |
Fixes infinite loop
-rw-r--r-- | src/game-server/being.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/game-server/being.cpp b/src/game-server/being.cpp index c21d2540..7b934a61 100644 --- a/src/game-server/being.cpp +++ b/src/game-server/being.cpp @@ -324,6 +324,7 @@ bool Being::hasStatusEffect(int id) { if (it->second.status->getId() == id) return true; + it++; } return false; } |