Core/Script: Code style.

Signed-off-by: Gyx <[email protected]>
This commit is contained in:
Gyx
2012-03-16 20:31:23 +08:00
parent bef1b0c402
commit cd38e7df2b
11 changed files with 59 additions and 48 deletions
@@ -308,7 +308,8 @@ public:
}
}
void SpawnPyramidWave(uint32 wave){
void SpawnPyramidWave(uint32 wave)
{
for (int i = 0; i < pyramidSpawnTotal; i++)
{
if (pyramidSpawns[i][0] == (float)wave)
@@ -321,7 +322,8 @@ public:
}
}
bool IsWaveAllDead(){
bool IsWaveAllDead()
{
for (std::list<uint64>::iterator itr = addsAtBase.begin(); itr != addsAtBase.end(); ++itr)
{
if (Creature* add = instance->GetCreature((*itr)))