Browse Source

Removed the unused ParseMonsterIdIfNotEmpty() function

pull/8123/head
Andrettin 7 months ago committed by Anders Jenbo
parent
commit
1ca8fcf460
  1. 9
      Source/monstdat.cpp

9
Source/monstdat.cpp

@ -233,15 +233,6 @@ tl::expected<_monster_id, std::string> ParseMonsterId(std::string_view value)
return tl::make_unexpected("Unknown enum value");
}
tl::expected<_monster_id, std::string> ParseMonsterIdIfNotEmpty(std::string_view value)
{
if (value.empty()) {
return MT_INVALID;
}
return ParseMonsterId(value);
}
tl::expected<MonsterAvailability, std::string> ParseMonsterAvailability(std::string_view value)
{
if (value == "Always") return MonsterAvailability::Always;

Loading…
Cancel
Save