summaryrefslogtreecommitdiff
path: root/src/game-server/abilitycomponent.cpp
diff options
context:
space:
mode:
authorErik Schilling <ablu.erikschilling@googlemail.com>2013-08-17 14:40:49 +0200
committerErik Schilling <ablu.erikschilling@googlemail.com>2013-08-26 22:56:47 +0200
commit8f4acdeaf7dbb6a2cf8b10198d92b4f9894f1ef6 (patch)
treeddef8c605e78198582a172322acf0d87459352b7 /src/game-server/abilitycomponent.cpp
parent707a9e5252237c011c821644b9483cefe64f719c (diff)
downloadmanaserv-8f4acdeaf7dbb6a2cf8b10198d92b4f9894f1ef6.tar.gz
manaserv-8f4acdeaf7dbb6a2cf8b10198d92b4f9894f1ef6.tar.bz2
manaserv-8f4acdeaf7dbb6a2cf8b10198d92b4f9894f1ef6.tar.xz
manaserv-8f4acdeaf7dbb6a2cf8b10198d92b4f9894f1ef6.zip
Fixed warning which used an invalid iterator
Diffstat (limited to 'src/game-server/abilitycomponent.cpp')
-rw-r--r--src/game-server/abilitycomponent.cpp3
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;
}