Skip to content

Commit

Permalink
[408] Fixed talent trees displaying for TC2 characters
Browse files Browse the repository at this point in the history
  • Loading branch information
Shadez committed Oct 24, 2010
1 parent c9cdf5b commit 7ffab0f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions character-talents.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/**
* @package World of Warcraft Armory
* @version Release Candidate 1
* @revision 385
* @revision 408
* @copyright (c) 2009-2010 Shadez
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
*
Expand Down Expand Up @@ -114,7 +114,7 @@
$talent_info = array();
$current_tree = array();
$glyphs = $characters->GetCharacterGlyphs();
for($i = 0; $i < $characters->GetSpecCount(); $i++ ) {
for($i = 0; $i < 2; $i++ ) {
$current_tree[$i] = $utils->GetMaxArray($talent_points['points'][$i]);
$talent_info[$i] = array(
'treeOne' => $talent_points['points'][$i][$characters->GetTalentTab(0)],
Expand All @@ -124,7 +124,7 @@
);
}
$xml->XMLWriter()->startElement('talents');
for($i = 0; $i < $characters->GetSpecCount(); $i++) {
for($i = 0; $i < 2; $i++) {
$xml->XMLWriter()->startElement('talentGroup');
$xml->XMLWriter()->writeAttribute('active', ($i == $characters->GetActiveSpec()) ? 1 : 0);
$xml->XMLWriter()->writeAttribute('group', $i+1);
Expand Down
2 changes: 1 addition & 1 deletion includes/revision_nr.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php
define('ARMORY_REVISION', 407);
define('ARMORY_REVISION', 408);
define('DB_VERSION', 'armory_r398');
define('CONFIG_VERSION', '0708201001');
?>

0 comments on commit 7ffab0f

Please sign in to comment.