maint: small update
This commit is contained in:
parent
2a48b454ba
commit
74a8442142
@ -6,6 +6,7 @@ enum class game_type
|
||||
{
|
||||
unknown = 0,
|
||||
iw4,
|
||||
iw5,
|
||||
iw6,
|
||||
s1,
|
||||
t7,
|
||||
@ -17,6 +18,7 @@ inline const std::string& resolve_game_type_name(const game_type game)
|
||||
{
|
||||
{game_type::unknown, "Unknown"},
|
||||
{game_type::iw4, "IW4"},
|
||||
{game_type::iw5, "IW5"},
|
||||
{game_type::iw6, "IW6"},
|
||||
{game_type::s1, "S1"},
|
||||
{game_type::t7, "T7"},
|
||||
@ -32,6 +34,11 @@ inline game_type resolve_game_type(const std::string& game_name)
|
||||
return game_type::iw4;
|
||||
}
|
||||
|
||||
if (game_name == "IW5")
|
||||
{
|
||||
return game_type::iw5;
|
||||
}
|
||||
|
||||
if (game_name == "IW6")
|
||||
{
|
||||
return game_type::iw6;
|
||||
|
Loading…
Reference in New Issue
Block a user