aboutsummaryrefslogtreecommitdiff
path: root/src/game/World.cpp
diff options
context:
space:
mode:
authorraczman <none@none>2009-04-04 00:29:43 +0200
committerraczman <none@none>2009-04-04 00:29:43 +0200
commit38d634a1632720fb1ff596f43e988b1b6014ae82 (patch)
tree35e180d33afd35ec75fb2119b44450caa634b952 /src/game/World.cpp
parentb449693f1737894b9be4d836a9a35abf6b38d4cc (diff)
Fixed BG mark rewarding in case of prematurely finished BG:
-team with most points will get 3 marks, the other one 1 mark -in case of a draw, each team gets 1 mark (not sure if blizzlike) TODO: -remove per BG score variables and substitute them further with general m_score[] array to avoid data duplication. Please report any bugs, and TC2 devs - dont pull this change into TC2, its not 309-like. --HG-- branch : trunk
Diffstat (limited to 'src/game/World.cpp')
-rw-r--r--src/game/World.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/game/World.cpp b/src/game/World.cpp
index 1ef570fe0d7..5c40acd9c40 100644
--- a/src/game/World.cpp
+++ b/src/game/World.cpp
@@ -1005,6 +1005,7 @@ void World::LoadConfigSettings(bool reload)
m_configs[CONFIG_MAX_WHO] = sConfig.GetIntDefault("MaxWhoListReturns", 49);
+ m_configs[CONFIG_PREMATURE_BG_REWARD] = sConfig.GetBoolDefault("Battleground.PrematureReward", true);
m_configs[CONFIG_BG_START_MUSIC] = sConfig.GetBoolDefault("MusicInBattleground", false);
m_configs[CONFIG_START_ALL_SPELLS] = sConfig.GetBoolDefault("PlayerStart.AllSpells", false);
m_configs[CONFIG_HONOR_AFTER_DUEL] = sConfig.GetIntDefault("HonorPointsAfterDuel", 0);