Skip to content

Commit

Permalink
Some spell-query related race fixes
Browse files Browse the repository at this point in the history
[ci skip]
  • Loading branch information
navv1234 committed Dec 23, 2017
1 parent a75def0 commit 7b8d526
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
4 changes: 2 additions & 2 deletions engine/dbc/dbc.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -923,7 +923,7 @@ struct spell_data_t
int initial_stacks() const
{ return _proc_charges; }

uint32_t race_mask() const
uint64_t race_mask() const
{ return _race_mask; }

uint32_t level() const
Expand Down Expand Up @@ -1010,7 +1010,7 @@ struct spell_data_t

bool is_race( race_e r ) const
{
unsigned mask = util::race_mask( r );
uint64_t mask = util::race_mask( r );
return ( _race_mask & mask ) == mask;
}

Expand Down
7 changes: 6 additions & 1 deletion engine/dbc/sc_spell_data.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,12 @@ const std::string _race_strings[] =
"worgen",
"",
"",
"pandaren"
"pandaren",
"",
"nightborne",
"highmountain_tauren",
"void_elf",
"lightforged_tauren"
};

const std::string _pet_class_strings[] =
Expand Down

0 comments on commit 7b8d526

Please sign in to comment.