Core/Misc: Codestyle fix

This commit is contained in:
funjoker
2024-01-09 00:46:06 +01:00
parent 2a8f1feef6
commit e31596ef3f
3 changed files with 0 additions and 5 deletions

View File

@@ -1893,7 +1893,6 @@ Optional<ContentTuningLevels> DB2Manager::GetContentTuningData(uint32 contentTun
if (forItem && contentTuning->GetFlags().HasFlag(ContentTuningFlag::DisabledForItem))
return {};
ContentTuningLevels levels;
levels.MinLevel = contentTuning->MinLevel;
levels.MaxLevel = contentTuning->MaxLevel;
@@ -2100,7 +2099,6 @@ EmotesTextSoundEntry const* DB2Manager::GetTextSoundEmoteFor(uint32 emote, uint8
return nullptr;
}
float DB2Manager::EvaluateExpectedStat(ExpectedStatType stat, uint32 level, int32 expansion, uint32 /*contentTuningId*/, Classes unitClass) const
{
auto expectedStatItr = _expectedStatsByLevel.find(std::make_pair(level, expansion));

View File

@@ -28,14 +28,12 @@ struct ItemRandomProperties
int32 RandomPropertiesSeed = 0;
};
struct RandomEnchantmentData
{
std::vector<uint16> EnchantmentIDs;
std::vector<double> Chances;
};
class TC_GAME_API ItemEnchantmentMgr
{
public:

View File

@@ -5360,7 +5360,6 @@ void Spell::EffectDestroyItem()
player->DestroyItem(item->GetBagSlot(), item->GetSlot(), true);
}
void Spell::EffectRemoveAuraBySpellLabel()
{
if (effectHandleMode != SPELL_EFFECT_HANDLE_HIT_TARGET)