mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-05-06 02:37:47 +00:00
let global effect counter starts at 1 so the first status in each zone is not ignored by the client
This commit is contained in:
parent
beacceec92
commit
5defe73558
1 changed files with 4 additions and 2 deletions
|
@ -62,7 +62,8 @@ Sapphire::Territory::Territory() :
|
|||
m_weatherOverride( Weather::None ),
|
||||
m_lastMobUpdate( 0 ),
|
||||
m_nextEObjId( 0x400D0000 ),
|
||||
m_nextActorId( 0x500D0000 )
|
||||
m_nextActorId( 0x500D0000 ),
|
||||
m_effectCounter( 1 )
|
||||
{
|
||||
}
|
||||
|
||||
|
@ -72,7 +73,8 @@ Sapphire::Territory::Territory( uint16_t territoryTypeId, uint32_t guId,
|
|||
m_nextEObjId( 0x400D0000 ),
|
||||
m_nextActorId( 0x500D0000 ),
|
||||
m_lastUpdate( 0 ),
|
||||
m_lastActivityTime( Util::getTimeMs() )
|
||||
m_lastActivityTime( Util::getTimeMs() ),
|
||||
m_effectCounter( 1 )
|
||||
{
|
||||
auto& exdData = Common::Service< Data::ExdDataGenerated >::ref();
|
||||
m_guId = guId;
|
||||
|
|
Loading…
Add table
Reference in a new issue