mirror of
https://github.com/mangosfour/server.git
synced 2025-12-16 04:37:00 +00:00
[10713] player/group instance binding fixes.
* Use anum instead raw uint8 type in args * Fixed crash when gm at continent invite to group gm in instance and then teleport to instance using .goname. When group leader teleport to instance it must get group bind instead solo bind. * In other semilar cases detection report error as before but replace solo by group bind instead assert crash at enter to map.
This commit is contained in:
parent
a87648c56b
commit
9c96949da9
9 changed files with 33 additions and 20 deletions
|
|
@ -17661,7 +17661,7 @@ void Player::SendResetFailedNotify(uint32 mapid)
|
|||
}
|
||||
|
||||
/// Reset all solo instances and optionally send a message on success for each
|
||||
void Player::ResetInstances(uint8 method, bool isRaid)
|
||||
void Player::ResetInstances(InstanceResetMethod method, bool isRaid)
|
||||
{
|
||||
// method can be INSTANCE_RESET_ALL, INSTANCE_RESET_CHANGE_DIFFICULTY, INSTANCE_RESET_GROUP_JOIN
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue