Core/Spell: Undefined SPELL_ATTR7_USABLE_IN_STUN_FEAR_CONFUSION attr for now - Some function renames - Used in some client checks but not 100% sure of its usage (eg in CGUnit_C::CheckAndReportSpellInhibitFlags but not in Spell_C::IsUsableAction)

This commit is contained in:
hondacrx
2018-03-12 13:24:16 -04:00
parent f6fc8fae09
commit 060bc0b7a8
6 changed files with 35 additions and 42 deletions
+2 -2
View File
@@ -34,7 +34,7 @@ namespace Game.Entities
{
case Class.Deathknight:
{
for (byte i = 0; i < PlayerConst.TaxiMaskSize; ++i)
for (int i = 0; i < PlayerConst.TaxiMaskSize; ++i)
m_taximask[i] |= (byte)(CliDB.OldContinentsNodesMask[i] & factionMask[i]);
break;
}
@@ -105,7 +105,7 @@ namespace Game.Entities
{
var split = new StringArray(data, ' ');
byte index = 0;
int index = 0;
for (var i = 0; index < PlayerConst.TaxiMaskSize && i != split.Length; ++i, ++index)
{
// load and set bits only for existing taxi nodes