1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-05-25 19:17:45 +00:00

nothing was wrong here, revert.

This commit is contained in:
collett 2021-07-27 06:58:53 +09:00
parent 0864237cba
commit b76e68f101
2 changed files with 2 additions and 2 deletions

View file

@ -473,7 +473,7 @@ Sapphire::World::Action::ActionPtr Sapphire::Entity::Chara::getCurrentAction() c
/*! \param ActionPtr of the action to be registered */ /*! \param ActionPtr of the action to be registered */
void Sapphire::Entity::Chara::setCurrentAction( Sapphire::World::Action::ActionPtr pAction ) void Sapphire::Entity::Chara::setCurrentAction( Sapphire::World::Action::ActionPtr pAction )
{ {
m_pCurrentAction = pAction; m_pCurrentAction = std::move( pAction );
} }
uint32_t Sapphire::Entity::Chara::getBonusStat( Common::BaseParam bonus ) const uint32_t Sapphire::Entity::Chara::getBonusStat( Common::BaseParam bonus ) const

View file

@ -2269,7 +2269,7 @@ bool Sapphire::Entity::Player::hasQueuedAction() const
void Sapphire::Entity::Player::setQueuedAction( Sapphire::World::Action::ActionPtr pAction ) void Sapphire::Entity::Player::setQueuedAction( Sapphire::World::Action::ActionPtr pAction )
{ {
m_pQueuedAction = pAction; m_pQueuedAction = std::move( pAction );
} }
bool Sapphire::Entity::Player::checkAction() bool Sapphire::Entity::Player::checkAction()