aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent-Michael <Vincent_Michael@gmx.de>2012-08-14 23:58:08 +0200
committerVincent-Michael <Vincent_Michael@gmx.de>2012-08-14 23:58:08 +0200
commitbddaf9b3a4c4385a02ff11ba92aef95ebac7ccab (patch)
tree78cf5882968d3d661a408251358ebe50c7baad22
parent302051da3d01dce352e514caff7485ef9afe4df1 (diff)
Core/Scripts: Fix uninitialized variable in boss_akilzon
-rw-r--r--src/server/scripts/EasternKingdoms/ZulAman/boss_akilzon.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/server/scripts/EasternKingdoms/ZulAman/boss_akilzon.cpp b/src/server/scripts/EasternKingdoms/ZulAman/boss_akilzon.cpp
index c7d6e2fb6e4..871a82c8e28 100644
--- a/src/server/scripts/EasternKingdoms/ZulAman/boss_akilzon.cpp
+++ b/src/server/scripts/EasternKingdoms/ZulAman/boss_akilzon.cpp
@@ -116,8 +116,7 @@ class boss_akilzon : public CreatureScript
CloudGUID = 0;
CycloneGUID = 0;
DespawnSummons();
- for (uint8 i = 0; i < 8; ++i)
- BirdGUIDs[i] = 0;
+ memset(BirdGUIDs, 0, sizeof(BirdGUIDs));
StormCount = 0;
StormSequenceTimer = 0;