hey guys, im getting erros on compiling with the lastest rev in PlayerbotDeathKnightAI.cpp , PlayerbotDruidAI.cpp,PlayerbotHunterAI.cpp and other classes errors
Here is the actual error:
10>..\\..\\src\\game\\PlayerbotDeathKnightAI.cpp(240) : error C2664: 'bool Unit::HasAura(uint32,SpellEffectIndex) const' : cannot convert parameter 2 from 'int' to 'SpellEffectIndex'
10> Conversion to enumeration type requires an explicit cast (static_cast, C-style cast or function-style cast)
10> Conversion to enumeration type requires an explicit cast (static_cast, C-style cast or function-style cast)
10>..\\..\\src\\game\\PlayerbotHunterAI.cpp(203) : error C2664: 'bool Unit::HasAura(uint32,SpellEffectIndex) const' : cannot convert parameter 2 from 'int' to 'SpellEffectIndex'