summaryrefslogtreecommitdiff
path: root/src/server/game/Scripting/MapScripts.cpp
diff options
context:
space:
mode:
authorYehonal <hw.2@hotmail.it>2016-06-26 19:23:57 +0200
committerYehonal <hw.2@hotmail.it>2016-06-26 19:23:57 +0200
commitf6eefedcd537754978cc351ec8a78a7f67dd7979 (patch)
tree6bbca3d0ba227570b75735cefdbdbbdea1d04e98 /src/server/game/Scripting/MapScripts.cpp
parent52f305111ce2bb876eaea985d75ffcb744f583a5 (diff)
converted all tabs to 4 spaces
Diffstat (limited to 'src/server/game/Scripting/MapScripts.cpp')
-rw-r--r--src/server/game/Scripting/MapScripts.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/server/game/Scripting/MapScripts.cpp b/src/server/game/Scripting/MapScripts.cpp
index 5cfaa2b6d4..bb99424161 100644
--- a/src/server/game/Scripting/MapScripts.cpp
+++ b/src/server/game/Scripting/MapScripts.cpp
@@ -651,17 +651,17 @@ void Map::ScriptsProcess()
sLog->outError("%s creature entry (datalong) is not specified.", step.script->GetDebugInfo().c_str());
else
{
- uint32 entry = step.script->TempSummonCreature.CreatureEntry;
+ uint32 entry = step.script->TempSummonCreature.CreatureEntry;
float x = step.script->TempSummonCreature.PosX;
float y = step.script->TempSummonCreature.PosY;
float z = step.script->TempSummonCreature.PosZ;
float o = step.script->TempSummonCreature.Orientation;
- if (step.script->TempSummonCreature.CheckIfExists)
- if (Unit* trigger = pSummoner->SummonTrigger(x, y, z, o, 1))
- if (trigger->FindNearestCreature(entry, 60.0f))
- break;
+ if (step.script->TempSummonCreature.CheckIfExists)
+ if (Unit* trigger = pSummoner->SummonTrigger(x, y, z, o, 1))
+ if (trigger->FindNearestCreature(entry, 60.0f))
+ break;
if (!pSummoner->SummonCreature(entry, x, y, z, o, TEMPSUMMON_TIMED_OR_DEAD_DESPAWN, step.script->TempSummonCreature.DespawnDelay))
sLog->outError("%s creature was not spawned (entry: %u).", step.script->GetDebugInfo().c_str(), step.script->TempSummonCreature.CreatureEntry);