Skip to content

Commit

Permalink
[381] Possible compile fix (?)
Browse files Browse the repository at this point in the history
  • Loading branch information
Shadez committed Aug 29, 2010
1 parent 5d91b56 commit d0d850b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion includes/revision_nr.php
@@ -1,5 +1,5 @@
<?php
define('ARMORY_REVISION', 380);
define('ARMORY_REVISION', 381);
define('DB_VERSION', 'armory_r380');
define('CONFIG_VERSION', '0708201001');
?>
4 changes: 3 additions & 1 deletion tools/mangos/wowarmory_arena_chart.patch
Expand Up @@ -12,8 +12,10 @@ index 8343ab5..0ba8a04 100644
+ if(!result)
+ maxChartID = 0;
+ else
+ {
+ maxChartID = (*result)[0].GetUInt32();
+ delete result;
+ delete result;
+ }
+ uint32 gameID = maxChartID+1;
+ for(BattleGroundScoreMap::const_iterator itr = m_PlayerScores.begin(); itr != m_PlayerScores.end(); ++itr)
+ {
Expand Down
2 changes: 1 addition & 1 deletion tools/trinity_core/wowarmory_arena_chart.patch
Expand Up @@ -13,8 +13,8 @@ diff --git a/src/server/game/Battlegrounds/Battleground.cpp b/src/server/game/Ba
+ else
+ {
+ maxChartID = (*result)[0].GetUInt32();
+ delete result;
+ }
+ delete result;
+ uint32 gameID = maxChartID+1;
+ for(BattlegroundScoreMap::const_iterator itr = m_PlayerScores.begin(); itr != m_PlayerScores.end(); ++itr)
+ {
Expand Down

0 comments on commit d0d850b

Please sign in to comment.