1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-07-06 20:57:46 +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 855d53ae93
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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