mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-18 00:18:43 +01:00
*Try to fix the bug that players cannot move after releasing.
--HG-- branch : trunk
This commit is contained in:
@@ -10798,7 +10798,7 @@ void Unit::SetLevel(uint32 lvl)
|
||||
|
||||
void Unit::SetHealth(uint32 val)
|
||||
{
|
||||
if(!isAlive())
|
||||
if(getDeathState() == JUST_DIED)
|
||||
val = 0;
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user