1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-05-03 17:27:47 +00:00

Merge pull request #634 from collett8192/mount_fix

Missing casting flag clear after mount action.
This commit is contained in:
Adam 2020-02-13 08:22:25 +11:00 committed by GitHub
commit daaba2ea4d

View file

@ -63,6 +63,7 @@ void MountAction::execute()
{
assert( m_pSource );
m_pSource->getAsPlayer()->unsetStateFlag( Common::PlayerStateFlag::Casting );
m_effectBuilder->mount( m_pSource, m_mountId );
m_effectBuilder->buildAndSendPackets();
}