mirror of
https://github.com/EQEmu/Server.git
synced 2026-11-24 09:47:20 +00:00
Fix several GCC warnings
This commit is contained in:
1 parent
f51f6e00c4
commit
d6ff01d63c
27 files changed
+106
-90
No files matched your search
@@ -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);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user