From 91c174075dd6c4411365794d5bb284f85929d050 Mon Sep 17 00:00:00 2001 From: Spp Date: Wed, 20 Jan 2010 15:43:16 +0100 Subject: closes #245 - GMs will resurrect with full health --HG-- branch : trunk --- src/game/Level3.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/game/Level3.cpp b/src/game/Level3.cpp index e2a290e7869..c3aac87024a 100644 --- a/src/game/Level3.cpp +++ b/src/game/Level3.cpp @@ -4356,7 +4356,7 @@ bool ChatHandler::HandleReviveCommand(const char *args) if (target) { - target->ResurrectPlayer(0.5f); + target->ResurrectPlayer(target->GetSession()->GetSecurity() > SEC_PLAYER ? 1.0f : 0.5f); target->SpawnCorpseBones(); target->SaveToDB(); } -- cgit v1.2.3