mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-04-26 14:37:44 +00:00
Added another trigger def and removed some debug prints
This commit is contained in:
parent
3c2b45507c
commit
5e280c9d05
3 changed files with 1 additions and 3 deletions
|
@ -250,6 +250,7 @@ namespace Core {
|
|||
RequestChocoboInventory = 0x1C4,
|
||||
|
||||
EmoteReq = 0x1F4,
|
||||
EmoteCancel = 0x1F6,
|
||||
PersistantEmoteCancel = 0x1F7,
|
||||
PoseChange = 0x1F9,
|
||||
PoseReapply = 0x1FA,
|
||||
|
|
|
@ -37,7 +37,6 @@ void Core::Cell::init( uint32_t x, uint32_t y, ZonePtr pZone )
|
|||
void Core::Cell::addActor( Entity::ActorPtr pAct )
|
||||
{
|
||||
auto pLog = g_fw.get< Core::Logger >();
|
||||
pLog->debug( "Adding actor to cell in " + this->m_pZone->getName() );
|
||||
if( pAct->isPlayer() )
|
||||
++m_playerCount;
|
||||
|
||||
|
@ -47,7 +46,6 @@ void Core::Cell::addActor( Entity::ActorPtr pAct )
|
|||
void Core::Cell::removeActor( Entity::ActorPtr pAct )
|
||||
{
|
||||
auto pLog = g_fw.get< Core::Logger >();
|
||||
pLog->debug( "Removing actor from cell in " + this->m_pZone->getName() );
|
||||
if( pAct->isPlayer() )
|
||||
--m_playerCount;
|
||||
|
||||
|
|
|
@ -550,7 +550,6 @@ void Core::Zone::updateActorPosition( Entity::Actor &actor )
|
|||
if( pOldCell )
|
||||
{
|
||||
auto pLog = g_fw.get< Logger >();
|
||||
pLog->debug( std::string( __FUNCTION__ ) + " -> removeActor() ...moving cell..." );
|
||||
pOldCell->removeActor( actor.shared_from_this() );
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue