mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-05-28 04:17:44 +00:00
Merge branch 'action_data_update_pr' into develop_c
This commit is contained in:
commit
d04b7a3519
2 changed files with 1 additions and 1 deletions
|
@ -44,6 +44,7 @@ Sapphire::Entity::Chara::Chara( ObjKind type, FrameworkPtr pFw ) :
|
|||
|
||||
m_lastTickTime = 0;
|
||||
m_lastUpdate = 0;
|
||||
m_lastAttack = Util::getTimeMs();
|
||||
|
||||
m_bonusStats.fill( 0 );
|
||||
|
||||
|
|
|
@ -306,7 +306,6 @@ void Sapphire::Entity::Player::calculateStats()
|
|||
void Sapphire::Entity::Player::setAutoattack( bool mode )
|
||||
{
|
||||
m_bAutoattack = mode;
|
||||
m_lastAttack = Util::getTimeMs();
|
||||
}
|
||||
|
||||
bool Sapphire::Entity::Player::isAutoattackOn() const
|
||||
|
|
Loading…
Add table
Reference in a new issue