Core/Misc: Apply codestyle to multiple files

This commit is contained in:
Spp
2013-01-14 09:50:59 +01:00
parent 557fde86e4
commit 802657250c
112 changed files with 520 additions and 521 deletions

View File

@@ -476,7 +476,7 @@ void Map::ScriptsProcess()
// Source or target must be Creature.
if (Creature* cSource = _GetScriptCreatureSourceOrTarget(source, target, step.script))
{
Unit * unit = (Unit*)cSource;
Unit* unit = (Unit*)cSource;
if (step.script->MoveTo.TravelTime != 0)
{
float speed = unit->GetDistance(step.script->MoveTo.DestX, step.script->MoveTo.DestY, step.script->MoveTo.DestZ) / ((float)step.script->MoveTo.TravelTime * 0.001f);