mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 07:30:42 +01:00
Core/Misc: Fixed uninitialized values
CID 1254611 1377296 1377728 1377727
This commit is contained in:
@@ -40,7 +40,7 @@ namespace Movement
|
||||
|
||||
MonsterMoveType type;
|
||||
|
||||
FacingInfo() : angle(0.0f), type(MONSTER_MOVE_NORMAL) { }
|
||||
FacingInfo() : angle(0.0f), type(MONSTER_MOVE_NORMAL) { f.x = f.y = f.z = 0.0f; }
|
||||
};
|
||||
|
||||
struct SpellEffectExtraData
|
||||
|
||||
@@ -395,10 +395,10 @@ namespace WorldPackets
|
||||
uint32 Slot = 0;
|
||||
int8 State = 0;
|
||||
uint32 CompletedMask = 0;
|
||||
uint8 Unused;
|
||||
uint8 Unused = 0;
|
||||
bool ValidCompletedMask = false;
|
||||
bool ProposalSilent = false;
|
||||
bool IsRequeue;
|
||||
bool IsRequeue = false;
|
||||
std::vector<LFGProposalUpdatePlayer> Players;
|
||||
};
|
||||
|
||||
|
||||
@@ -71,7 +71,7 @@ uint8 const WorldSocket::ContinuedSessionSeed[16] = { 0x16, 0xAD, 0x0C, 0xD4, 0x
|
||||
|
||||
WorldSocket::WorldSocket(tcp::socket&& socket) : Socket(std::move(socket)),
|
||||
_type(CONNECTION_TYPE_REALM), _key(0), _OverSpeedPings(0),
|
||||
_worldSession(nullptr), _authed(false), _compressionStream(nullptr)
|
||||
_worldSession(nullptr), _authed(false), _sendBufferSize(4096), _compressionStream(nullptr)
|
||||
{
|
||||
_serverChallenge.SetRand(8 * 16);
|
||||
_headerBuffer.Resize(SizeOfClientHeader);
|
||||
|
||||
Reference in New Issue
Block a user