Compile Fix and fix to prevent Mercenaries from being set as Group Leader.

This commit is contained in:
Trevius
2014-11-25 02:54:02 -06:00
parent 09e13d0034
commit b4862dea45
3 changed files with 32 additions and 15 deletions
+1 -1
View File
@@ -4338,7 +4338,7 @@ Corpse* Merc::GetGroupMemberCorpse() {
if(g->members[i] && g->members[i]->IsClient()) {
corpse = entity_list.GetCorpseByOwnerWithinRange(g->members[i]->CastToClient(), this, RuleI(Mercs, ResurrectRadius));
if(corpse && !corpse->Rezzed()) {
if(corpse && !corpse->IsRezzed()) {
return corpse;
}
}