mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-05-25 11:07:45 +00:00
nothing was wrong here, revert.
This commit is contained in:
parent
0864237cba
commit
b76e68f101
2 changed files with 2 additions and 2 deletions
|
@ -473,7 +473,7 @@ Sapphire::World::Action::ActionPtr Sapphire::Entity::Chara::getCurrentAction() c
|
|||
/*! \param ActionPtr of the action to be registered */
|
||||
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
|
||||
|
|
|
@ -2269,7 +2269,7 @@ bool Sapphire::Entity::Player::hasQueuedAction() const
|
|||
|
||||
void Sapphire::Entity::Player::setQueuedAction( Sapphire::World::Action::ActionPtr pAction )
|
||||
{
|
||||
m_pQueuedAction = pAction;
|
||||
m_pQueuedAction = std::move( pAction );
|
||||
}
|
||||
|
||||
bool Sapphire::Entity::Player::checkAction()
|
||||
|
|
Loading…
Add table
Reference in a new issue