Refactoring Cleanup

This commit is contained in:
hondacrx
2020-02-03 14:42:20 -05:00
parent 2a065d22da
commit 752137af52
37 changed files with 107 additions and 157 deletions
+2 -2
View File
@@ -1125,7 +1125,7 @@ namespace Game.BattleFields
{
capturePoint.SetRespawnTime(0); // not save respawn time
capturePoint.Delete();
capturePoint = null;
capturePoint.Dispose();
}
m_capturePointGUID.Clear();
}
@@ -1176,7 +1176,7 @@ namespace Game.BattleFields
if (MathFunctions.fuzzyEq(fact_diff, 0.0f))
return false;
Team Challenger = 0;
Team Challenger;
float maxDiff = m_maxSpeed * diff;
if (fact_diff < 0)
@@ -527,7 +527,7 @@ namespace Game.BattleFields
public override void OnGameObjectCreate(GameObject go)
{
uint workshopId = 0;
uint workshopId;
switch (go.GetEntry())
{