Core/Unit: Random code style/naming adjustments

Port From (https://github.com/TrinityCore/TrinityCore/commit/05119fd90949340cad4a700d12069154a2faf5f6)
This commit is contained in:
hondacrx
2021-11-01 12:09:07 -04:00
parent 3f684eadf9
commit 1e4fa35ac2
7 changed files with 15 additions and 14 deletions
+3 -3
View File
@@ -258,7 +258,7 @@ namespace Game.Entities
public bool IsInDisallowedMountForm()
{
return IsDisallowedMountForm(GetTransForm(), GetShapeshiftForm(), GetDisplayId());
return IsDisallowedMountForm(GetTransformSpell(), GetShapeshiftForm(), GetDisplayId());
}
public bool IsDisallowedMountForm(uint spellId, ShapeShiftForm form, uint displayId)
@@ -510,8 +510,8 @@ namespace Game.Entities
base.CleanupsBeforeDelete(finalCleanup);
}
public void SetTransForm(uint spellid) { m_transform = spellid; }
public uint GetTransForm() { return m_transform; }
public void SetTransformSpell(uint spellid) { m_transformSpell = spellid; }
public uint GetTransformSpell() { return m_transformSpell; }
public Vehicle GetVehicleKit() { return VehicleKit; }
public Vehicle GetVehicle() { return m_vehicle; }