1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-04-24 05:37:45 +00:00

State in player spawn reflects actual player state;

This commit is contained in:
Maru 2017-10-04 16:13:11 -03:00
parent c324916808
commit c53fc16ead

View file

@ -70,7 +70,7 @@ namespace Server {
//m_data.u23 = 0x04;
//m_data.u24 = 256;
m_data.state = 1;
m_data.state = (pPlayer->getHp() > 0) ? 1 : 2;
m_data.type = 1;
if( pTarget == pPlayer )
{