Style Fixes
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2021-07-09 14:36:14 +02:00
parent d5ef7a33f8
commit 5a082c5995
10 changed files with 15 additions and 24 deletions

View File

@@ -3,8 +3,8 @@
namespace PkmnLib::Library {
ENUM(EvolutionMethod, uint8_t, Level, HighFriendship, HighFriendshipTime, KnownMove, LocationBased, TimeBased,
HoldsItem, HoldsItemTime, IsGenderAndLevel, EvolutionItemUse, EvolutionItemUseWithGender, Trade, TradeWithHeldItem,
TradeWithSpecificPokemon, Custom)
HoldsItem, HoldsItemTime, IsGenderAndLevel, EvolutionItemUse, EvolutionItemUseWithGender, Trade,
TradeWithHeldItem, TradeWithSpecificPokemon, Custom)
}
#endif // PKMNLIB_EVOLUTIONMETHOD_HPP

View File

@@ -8,7 +8,7 @@ namespace PkmnLib::Library {
}
for (const auto& s : _values) {
const auto* pkmn = dynamic_cast<const PokemonSpecies*>(s.second.get());
if (pkmn == nullptr){
if (pkmn == nullptr) {
continue;
}
for (const auto& evo : pkmn->GetEvolutions()) {