mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-05-25 11:07:45 +00:00
fix debug build
This commit is contained in:
parent
d5f16e00dc
commit
8ca1a07748
2 changed files with 0 additions and 3 deletions
|
@ -696,7 +696,6 @@ void Sapphire::Entity::BNpc::autoAttack( CharaPtr pTarget )
|
|||
m_lastAttack = tick;
|
||||
|
||||
auto& exdData = Common::Service< Data::ExdDataGenerated >::ref();
|
||||
assert( exdData );
|
||||
auto actionData = exdData.get< Data::Action >( 7 );
|
||||
assert( actionData );
|
||||
auto action = World::Action::make_Action( getAsChara(), 7, 0, actionData );
|
||||
|
|
|
@ -1638,7 +1638,6 @@ void Sapphire::Entity::Player::autoAttack( CharaPtr pTarget )
|
|||
{
|
||||
pTarget->onActionHostile( getAsChara() );
|
||||
auto& exdData = Common::Service< Data::ExdDataGenerated >::ref();
|
||||
assert( exdData );
|
||||
World::Action::ActionPtr action;
|
||||
if( getClass() == ClassJob::Machinist || getClass() == ClassJob::Bard || getClass() == ClassJob::Archer )
|
||||
{
|
||||
|
@ -2707,7 +2706,6 @@ void Sapphire::Entity::Player::gaugeSamSetSen( Sapphire::Common::SamSen type, bo
|
|||
|
||||
void Sapphire::Entity::Player::gaugeSamSetSen( Sapphire::Common::SamSen value )
|
||||
{
|
||||
assert( value >= 0 && value <= 7 );
|
||||
auto oldValue = gaugeSamGetSenRaw();
|
||||
m_gauge.sam.sen = value;
|
||||
if( oldValue != value )
|
||||
|
|
Loading…
Add table
Reference in a new issue