mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 07:37:01 +00:00
[6901] Fixed uninitialized variables
This commit is contained in:
parent
e3c093a3ab
commit
027a3ab0bc
2 changed files with 2 additions and 1 deletions
|
|
@ -13484,6 +13484,7 @@ bool Player::LoadFromDB( uint32 guid, SqlQueryHolder *holder )
|
||||||
|
|
||||||
uint32 transGUID = fields[24].GetUInt32();
|
uint32 transGUID = fields[24].GetUInt32();
|
||||||
Relocate(fields[6].GetFloat(),fields[7].GetFloat(),fields[8].GetFloat(),fields[10].GetFloat());
|
Relocate(fields[6].GetFloat(),fields[7].GetFloat(),fields[8].GetFloat(),fields[10].GetFloat());
|
||||||
|
SetFallInformation(0, fields[8].GetFloat());
|
||||||
SetMapId(fields[9].GetUInt32());
|
SetMapId(fields[9].GetUInt32());
|
||||||
SetDifficulty(fields[32].GetUInt32()); // may be changed in _LoadGroup
|
SetDifficulty(fields[32].GetUInt32()); // may be changed in _LoadGroup
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "6900"
|
#define REVISION_NR "6901"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue