Core: Fix warnings

--HG--
branch : trunk
This commit is contained in:
Spp
2010-11-16 14:08:12 +01:00
parent 7abcf9812e
commit addd762c4d
19 changed files with 51 additions and 51 deletions
+1 -1
View File
@@ -193,7 +193,7 @@ void HostileRefManager::UpdateVisibility()
HostileReference* nextRef = ref->next();
if (!ref->getSource()->getOwner()->canSeeOrDetect(getOwner()))
{
HostileReference* nextRef = ref->next();
nextRef = ref->next();
ref->removeReference();
delete ref;
}