1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-05-06 10:47: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 7abea43ed8
commit 3328438b0e

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 )
{