Fix several GCC warnings

This commit is contained in:
j883376 committed 2013-05-23 20:22:42 -04:00
1 parent f51f6e00c4
commit d6ff01d63c
27 files changed
+106 -90

No files matched your search

+2
View File
@@ -1493,11 +1493,13 @@ void EntityList::RemoveFromTargets(Mob* mob, bool RemoveFromXTargets)
m->RemoveFromHateList(mob);
if(RemoveFromXTargets)
{
if(m->IsClient())
m->CastToClient()->RemoveXTarget(mob, false);
// FadingMemories calls this function passing the client.
else if(mob->IsClient())
mob->CastToClient()->RemoveXTarget(m, false);
}
}
}