mirror of
https://github.com/mangosfour/server.git
synced 2025-12-19 04:37:06 +00:00
[11015] Prevent crash at player far teleport landing to nonexisten battleground instance.
Teleport back in like case or to homebind in bad case.
This commit is contained in:
parent
3de0f99f59
commit
0c19c2c6a2
4 changed files with 39 additions and 9 deletions
|
|
@ -2756,7 +2756,7 @@ void Aura::HandleAuraDummy(bool apply, bool Real)
|
|||
if (totem && apply)
|
||||
((Player*)target)->GetCamera().SetView(totem);
|
||||
else
|
||||
((Player*)target)->GetCamera().ResetView(totem);
|
||||
((Player*)target)->GetCamera().ResetView();
|
||||
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue