aboutsummaryrefslogtreecommitdiff
path: root/src/game/ReputationMgr.cpp
diff options
context:
space:
mode:
authormaximius <none@none>2009-10-13 16:13:33 -0700
committermaximius <none@none>2009-10-13 16:13:33 -0700
commitf413a988621d36742cf5894460639f64edb4adf3 (patch)
tree35f3de6683cea999096f013509e8b1e4031b0616 /src/game/ReputationMgr.cpp
parent51da3f343341748f39fc690e7133fce04a722d60 (diff)
*Some Exceptions for SetReputation, without this it is impossible to earn rep with Horde Expedition and Alliance Vanguard, by Themris
--HG-- branch : trunk
Diffstat (limited to 'src/game/ReputationMgr.cpp')
-rw-r--r--src/game/ReputationMgr.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/game/ReputationMgr.cpp b/src/game/ReputationMgr.cpp
index 006f47980ac..35bf2304fe4 100644
--- a/src/game/ReputationMgr.cpp
+++ b/src/game/ReputationMgr.cpp
@@ -251,6 +251,14 @@ bool ReputationMgr::SetReputation(FactionEntry const* factionEntry, int32 standi
uint32 team = factionEntry->team;
int32 sharedStanding = standing; // Here we decide what the amount is to send to the others of the group.
+ switch(factionEntry->ID)
+ {
+ case 1037: // Alliance Vanguard
+ case 1052: // Horde Expedition
+ extraTarget = -1; // Make possible to earn rep with this two factions
+ break;
+
+ }
switch(team)
{
case HORDE: // When earning reputation with home city factions, 25% of the earned reputation