diff --git a/src/game_server.hpp b/src/game_server.hpp index 6a4d293..e295c5f 100644 --- a/src/game_server.hpp +++ b/src/game_server.hpp @@ -8,6 +8,7 @@ enum class game_type iw4, iw5, iw6, + iw7, s1, t7, }; @@ -20,6 +21,7 @@ inline const std::string& resolve_game_type_name(const game_type game) {game_type::iw4, "IW4"}, {game_type::iw5, "IW5"}, {game_type::iw6, "IW6"}, + {game_type::iw7, "IW7"}, {game_type::s1, "S1"}, {game_type::t7, "T7"}, }; @@ -44,6 +46,11 @@ inline game_type resolve_game_type(const std::string& game_name) return game_type::iw6; } + if (game_name == "IW7") + { + return game_type::iw7; + } + if (game_name == "S1") { return game_type::s1;