Core/Auras: tidy up one little hack

Port From (https://github.com/TrinityCore/TrinityCore/commit/9d16dce63365502b45561ce972178a780272b146)
This commit is contained in:
hondacrx
2019-09-03 15:44:48 -04:00
parent 43a94b4897
commit 028db75c67
2 changed files with 26 additions and 24 deletions
+1 -17
View File
@@ -1292,23 +1292,7 @@ namespace Game.Spells
Unit target = aurApp.GetTarget();
ShapeShiftForm form = (ShapeShiftForm)GetMiscValue();
uint modelid = 0;
switch (GetId())
{
// Bear Form
case 7090:
modelid = 29414;
break;
// Roc Form
case 35200:
modelid = 4877;
break;
default:
modelid = target.GetModelForForm(form);
break;
}
uint modelid = target.GetModelForForm(form, GetId());
if (apply)
{