Core/PacketIO: Initialize some vars

This commit is contained in:
Carbenium
2016-02-02 17:30:19 +01:00
parent 229322d4d8
commit ea3cfa9146
3 changed files with 4 additions and 4 deletions

View File

@@ -63,8 +63,8 @@ namespace WorldPackets
void Read() override;
ObjectGuid PetGUID;
uint32 SpellID;
bool AutocastEnabled;
uint32 SpellID = 0;
bool AutocastEnabled = false;
};
}
}

View File

@@ -556,7 +556,7 @@ namespace WorldPackets
void Read() override;
uint32 QuestID;
uint32 QuestID = 0;
};
}
}

View File

@@ -80,7 +80,7 @@ namespace WorldPackets
void Read() override;
ObjectGuid PetGUID;
uint32 SpellID;
uint32 SpellID = 0;
};
class RequestCategoryCooldowns final : public ClientPacket