diff options
author | Erik Schilling <ablu.erikschilling@googlemail.com> | 2013-08-17 14:40:49 +0200 |
---|---|---|
committer | Erik Schilling <ablu.erikschilling@googlemail.com> | 2013-08-26 22:56:47 +0200 |
commit | 8f4acdeaf7dbb6a2cf8b10198d92b4f9894f1ef6 (patch) | |
tree | ddef8c605e78198582a172322acf0d87459352b7 | |
parent | 707a9e5252237c011c821644b9483cefe64f719c (diff) | |
download | manaserv-8f4acdeaf7dbb6a2cf8b10198d92b4f9894f1ef6.tar.gz manaserv-8f4acdeaf7dbb6a2cf8b10198d92b4f9894f1ef6.tar.bz2 manaserv-8f4acdeaf7dbb6a2cf8b10198d92b4f9894f1ef6.tar.xz manaserv-8f4acdeaf7dbb6a2cf8b10198d92b4f9894f1ef6.zip |
Fixed warning which used an invalid iterator
-rw-r--r-- | src/game-server/abilitycomponent.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/game-server/abilitycomponent.cpp b/src/game-server/abilitycomponent.cpp index e8113e67..c005635a 100644 --- a/src/game-server/abilitycomponent.cpp +++ b/src/game-server/abilitycomponent.cpp @@ -76,8 +76,7 @@ bool AbilityComponent::abilityUseCheck(AbilityMap::iterator it) if (it == mAbilities.end()) { - LOG_INFO("Entity uses ability " << it->first - << " without authorization."); + LOG_INFO("Entity uses ability without authorization."); return false; } |