mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-04-29 07:37:45 +00:00
combo fix
This commit is contained in:
parent
4b89c45790
commit
c319cb012c
1 changed files with 2 additions and 2 deletions
|
@ -393,8 +393,8 @@ void Action::Action::execute()
|
||||||
// ignore it otherwise (ogcds, etc.)
|
// ignore it otherwise (ogcds, etc.)
|
||||||
if( !m_actionData->preservesCombo )
|
if( !m_actionData->preservesCombo )
|
||||||
{
|
{
|
||||||
// potential combo starter or correct combo from last action
|
// potential combo starter or correct combo from last action, must hit something to progress combo
|
||||||
if( ( !isComboAction() || isCorrectCombo() ) )
|
if( !m_hitActors.empty() && ( !isComboAction() || isCorrectCombo() ) )
|
||||||
{
|
{
|
||||||
m_pSource->setLastComboActionId( getId() );
|
m_pSource->setLastComboActionId( getId() );
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue