diff options
| author | Spp <none@none> | 2010-01-20 15:43:16 +0100 |
|---|---|---|
| committer | Spp <none@none> | 2010-01-20 15:43:16 +0100 |
| commit | 91c174075dd6c4411365794d5bb284f85929d050 (patch) | |
| tree | 5967b8da75f6a5b086bcd603784f21c05c69db9d /src | |
| parent | 30760e992161c60890d3b522bd996cfe74da2f1e (diff) | |
closes #245 - GMs will resurrect with full health
--HG--
branch : trunk
Diffstat (limited to 'src')
| -rw-r--r-- | src/game/Level3.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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(); } |
