Core/Scripts: Initialize rnd and remove where it was not needed

This commit is contained in:
Kittnz
2016-10-08 16:43:08 +02:00
committed by Aokromes
parent 0ebe771dfa
commit f0566bc2a5

View File

@@ -1245,7 +1245,7 @@ public:
struct go_brewfest_musicAI : public GameObjectAI
{
uint32 rnd;
uint32 rnd = 0;
uint32 musicTime = 1000;
go_brewfest_musicAI(GameObject* go) : GameObjectAI(go)
@@ -1418,8 +1418,6 @@ public:
struct go_darkmoon_faire_musicAI : public GameObjectAI
{
uint32 rnd;
go_darkmoon_faire_musicAI(GameObject* go) : GameObjectAI(go)
{
_events.ScheduleEvent(EVENT_DFM_START_MUSIC, 1000);
@@ -1474,8 +1472,6 @@ public:
struct go_pirate_day_musicAI : public GameObjectAI
{
uint32 rnd;
go_pirate_day_musicAI(GameObject* go) : GameObjectAI(go)
{
_events.ScheduleEvent(EVENT_PDM_START_MUSIC, 1000);