diff --git a/src/world/Actor/BNpc.cpp b/src/world/Actor/BNpc.cpp index 8395f549..e5c45cdb 100644 --- a/src/world/Actor/BNpc.cpp +++ b/src/world/Actor/BNpc.cpp @@ -145,7 +145,7 @@ void Sapphire::Entity::BNpc::spawn( PlayerPtr pTarget ) void Sapphire::Entity::BNpc::despawn( PlayerPtr pTarget ) { pTarget->freePlayerSpawnId( getId() ); - pTarget->queuePacket( makeActorControl143( m_id, DespawnZoneScreenMsg, 0x04, getId(), 0x01 ) ); + pTarget->queuePacket( makeActorControl143( m_id, DespawnZoneScreenMsg, 0x04, getId(), 0x01 ) ); } Sapphire::Entity::BNpcState Sapphire::Entity::BNpc::getState() const diff --git a/src/world/Territory/Zone.h b/src/world/Territory/Zone.h index ee37ce0a..1e0d359f 100644 --- a/src/world/Territory/Zone.h +++ b/src/world/Territory/Zone.h @@ -49,7 +49,7 @@ namespace Sapphire Common::Weather m_currentWeather; Common::Weather m_weatherOverride; - uint64_t m_lastMobUpdate; + int64_t m_lastMobUpdate; FestivalPair m_currentFestival;