mirror of
https://github.com/mangosfour/server.git
synced 2025-12-22 04:37:01 +00:00
[8015] More dislpay id selection fixes...
* Allow have only A2 or H2 display ids for less strincted DB field data. * Check model data existance for all provided display ids atserver startup. * Avoid explicit access to creature info display fields but use display selection functions. * Rename GetTaxiMount to more clear for returned value GetTaxiMountDisplayId. * Check display ids in `creature_model_info` at server load.
This commit is contained in:
parent
a1b941b059
commit
08fe4933c5
14 changed files with 169 additions and 122 deletions
|
|
@ -2857,7 +2857,7 @@ void Aura::HandleAuraTransform(bool apply, bool Real)
|
|||
else
|
||||
{
|
||||
// Will use the default model here
|
||||
m_target->SetDisplayId(ci->DisplayID_A);
|
||||
m_target->SetDisplayId(ci->DisplayID_A[0]);
|
||||
|
||||
// Dragonmaw Illusion (set mount model also)
|
||||
if(GetId()==42016 && m_target->GetMountID() && !m_target->GetAurasByType(SPELL_AURA_MOD_INCREASE_FLIGHT_SPEED).empty())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue