diff options
author | click <none@none> | 2010-11-24 13:41:20 +0100 |
---|---|---|
committer | click <none@none> | 2010-11-24 13:41:20 +0100 |
commit | 6fa169810bcc12835e52547a27c34124e593895a (patch) | |
tree | 267c455e951ca0a2fe28f7f25779d09f57fdce11 /src/server/game/Reputation/ReputationMgr.h | |
parent | c786f0814638bef024cde8c612930c5392b4c6fe (diff) |
Core/Reputation: Implement a more generic solution for reputation spillover (fix by Lynx3d, port by Kaelima)
* Sorts out issues with factions 1037 and 1052
* Give a more correct client output when reputation is assigned to parent faction
* reputation_spillover_template can still be used to override spillover from dbc
Closes issue 4915.
--HG--
branch : trunk
Diffstat (limited to 'src/server/game/Reputation/ReputationMgr.h')
-rwxr-xr-x | src/server/game/Reputation/ReputationMgr.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/server/game/Reputation/ReputationMgr.h b/src/server/game/Reputation/ReputationMgr.h index 3b40af7d20c..2fe3054971e 100755 --- a/src/server/game/Reputation/ReputationMgr.h +++ b/src/server/game/Reputation/ReputationMgr.h @@ -52,7 +52,8 @@ struct FactionState RepListID ReputationListID; uint8 Flags; int32 Standing; - bool Changed; + bool needSend; + bool needSave; }; typedef std::map<RepListID,FactionState> FactionStateList; @@ -131,8 +132,8 @@ class ReputationMgr public: // senders void SendInitialReputations(); void SendForceReactions(); - void SendState(FactionState const* faction) const; - void SendStates() const; + void SendState(FactionState const* faction); + void SendStates(); private: // internal helper functions void Initialize(); |