Loading...   


diff --git a/zone/hate_list.cpp b/zone/hate_list.cpp
index 2d7bd3e..c9c129f 100644
--- a/zone/hate_list.cpp
+++ b/zone/hate_list.cpp
@@ -163,7 +163,7 @@ Mob* HateList::GetClosest(Mob *hater) {
 		++iterator;
 	}
 
-	if (close == 0 && hater->IsNPC() || close->DivineAura())
+	if (!close && hater->IsNPC() || (close && close->DivineAura())
 		close = hater->CastToNPC()->GetHateTop();
 
 	return close;

Raw Paste Data