mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 10:37:02 +00:00
[11401] Correct bug with displaying reputation on new characters.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
parent
5cd9f234f5
commit
8c91b6509d
2 changed files with 4 additions and 2 deletions
|
|
@ -160,7 +160,7 @@ void ReputationMgr::SendInitialReputations()
|
||||||
|
|
||||||
RepListID a = 0;
|
RepListID a = 0;
|
||||||
|
|
||||||
for (FactionStateList::const_iterator itr = m_factions.begin(); itr != m_factions.end(); ++itr)
|
for (FactionStateList::iterator itr = m_factions.begin(); itr != m_factions.end(); ++itr)
|
||||||
{
|
{
|
||||||
// fill in absent fields
|
// fill in absent fields
|
||||||
for (; a != itr->first; a++)
|
for (; a != itr->first; a++)
|
||||||
|
|
@ -173,6 +173,8 @@ void ReputationMgr::SendInitialReputations()
|
||||||
data << uint8 (itr->second.Flags);
|
data << uint8 (itr->second.Flags);
|
||||||
data << uint32 (itr->second.Standing);
|
data << uint32 (itr->second.Standing);
|
||||||
|
|
||||||
|
itr->second.needSend = false;
|
||||||
|
|
||||||
++a;
|
++a;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "11400"
|
#define REVISION_NR "11401"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue