Fix for test... (conn_state != client_state)

This commit is contained in:
Uleat committed 2014-05-05 21:59:21 -04:00
1 parent 5c0a75071c
commit 6477de8c4f
2 files changed
+2 -1

No files matched your search

+1 -1
View File
@@ -749,7 +749,7 @@ void EntityList::AESpell(Mob *caster, Mob *center, uint16 spell_id, bool affect_
for (auto it = mob_list.begin(); it != mob_list.end(); ++it) {
curmob = it->second;
// test to fix possible cause of random zone crashes..external methods accessing client properties before they're initialized
if (curmob->IsClient() && !curmob->CastToClient()->Connected())
if (curmob->IsClient() && !curmob->CastToClient()->ClientFinishedLoading())
continue;
if (curmob == center) //do not affect center
continue;