Core/Vehicles: Refactor some parts of vehicle system
- Fix a few crashes: Closes #9235 - Simplify and get rid of lots of redundant and silly code - Optimisations in Unit::ChangeSeat - More documentation
This commit is contained in:
1 parent
fab33f0774
commit
01fbbf3b93
5 files changed
+368
-163
No files matched your search
@@ -1587,8 +1587,7 @@ void WorldSession::HandleCancelMountAuraOpcode(WorldPacket& /*recvData*/)
|
||||
return;
|
||||
}
|
||||
|
||||
_player->Dismount();
|
||||
_player->RemoveAurasByType(SPELL_AURA_MOUNTED);
|
||||
_player->RemoveAurasByType(SPELL_AURA_MOUNTED); // Calls Dismount()
|
||||
}
|
||||
|
||||
void WorldSession::HandleMoveSetCanFlyAckOpcode(WorldPacket& recvData)
|
||||
|
||||
Reference in new issue
Block a user