From 8f4acdeaf7dbb6a2cf8b10198d92b4f9894f1ef6 Mon Sep 17 00:00:00 2001 From: Erik Schilling Date: Sat, 17 Aug 2013 14:40:49 +0200 Subject: Fixed warning which used an invalid iterator --- src/game-server/abilitycomponent.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src') 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; } -- cgit v1.2.3-70-g09d2