This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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()) {
|
||||
|
||||
Reference in New Issue
Block a user