From e354594925f5c422898c27323d0c884c3de3bcf0 Mon Sep 17 00:00:00 2001 From: megamage Date: Fri, 5 Jun 2009 16:35:47 -0500 Subject: *Automatically revive players when they fall under the map. --HG-- branch : trunk --- src/game/Player.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/game/Player.cpp') diff --git a/src/game/Player.cpp b/src/game/Player.cpp index ca498f49f3c..131d21910bf 100644 --- a/src/game/Player.cpp +++ b/src/game/Player.cpp @@ -4468,7 +4468,7 @@ void Player::RepopAtGraveyard() AreaTableEntry const *zone = GetAreaEntryByAreaID(GetAreaId()); // Such zones are considered unreachable as a ghost and the player must be automatically revived - if(!isAlive() && zone && zone->flags & AREA_FLAG_NEED_FLY || GetTransport()) + if(!isAlive() && zone && zone->flags & AREA_FLAG_NEED_FLY || GetTransport() || GetPositionZ() < -500.0f) { ResurrectPlayer(0.5f); SpawnCorpseBones(); -- cgit v1.2.3