aboutsummaryrefslogtreecommitdiff
path: root/src/game/BattleGroundNA.cpp
diff options
context:
space:
mode:
authormegamage <none@none>2009-04-29 00:26:07 -0500
committermegamage <none@none>2009-04-29 00:26:07 -0500
commitde11b9e901d1d1caa0634fad541f08f11c5781af (patch)
treee35503d08ef545e668b8d854da41e0ea6aba3b3b /src/game/BattleGroundNA.cpp
parent9dd4b8c98599b0bdccea7b9acb61cb4e7a35da8f (diff)
[7730] Some optimizantion and code style. Author: zhenya
--HG-- branch : trunk
Diffstat (limited to 'src/game/BattleGroundNA.cpp')
-rw-r--r--src/game/BattleGroundNA.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/game/BattleGroundNA.cpp b/src/game/BattleGroundNA.cpp
index 364ba972bec..f46746829e7 100644
--- a/src/game/BattleGroundNA.cpp
+++ b/src/game/BattleGroundNA.cpp
@@ -58,16 +58,16 @@ void BattleGroundNA::Update(uint32 diff)
void BattleGroundNA::StartingEventCloseDoors()
{
- for(uint32 i = BG_NA_OBJECT_DOOR_1; i <= BG_NA_OBJECT_DOOR_4; i++)
+ for(uint32 i = BG_NA_OBJECT_DOOR_1; i <= BG_NA_OBJECT_DOOR_4; ++i)
SpawnBGObject(i, RESPAWN_IMMEDIATELY);
}
void BattleGroundNA::StartingEventOpenDoors()
{
- for(uint32 i = BG_NA_OBJECT_DOOR_1; i <= BG_NA_OBJECT_DOOR_2; i++)
+ for(uint32 i = BG_NA_OBJECT_DOOR_1; i <= BG_NA_OBJECT_DOOR_2; ++i)
DoorOpen(i);
- for(uint32 i = BG_NA_OBJECT_BUFF_1; i <= BG_NA_OBJECT_BUFF_2; i++)
+ for(uint32 i = BG_NA_OBJECT_BUFF_1; i <= BG_NA_OBJECT_BUFF_2; ++i)
SpawnBGObject(i, 60);
}