From ad59a952a91c576ed2e7ac4bcd621119f5e59373 Mon Sep 17 00:00:00 2001 From: ForserX Date: Wed, 25 Sep 2024 11:29:02 +0300 Subject: [PATCH] Fix FreeMP choose --- src/Editors/LevelEditor/Engine/gametype_chooser.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/Editors/LevelEditor/Engine/gametype_chooser.cpp b/src/Editors/LevelEditor/Engine/gametype_chooser.cpp index 8178618fdb..91d3d26a9e 100644 --- a/src/Editors/LevelEditor/Engine/gametype_chooser.cpp +++ b/src/Editors/LevelEditor/Engine/gametype_chooser.cpp @@ -10,6 +10,7 @@ enum ERPGameType{ // [0..255] rpgtGameTeamDeathmatch, rpgtGameArtefactHunt, rpgtGameCaptureTheArtefact, + rpgtFreeMp, rpgtGameCount, }; @@ -19,6 +20,7 @@ xr_token rpoint_game_type[]={ { "TeamDeathmatch", rpgtGameTeamDeathmatch }, { "ArtefactHunt", rpgtGameArtefactHunt }, { "CaptureTheArtefact", rpgtGameCaptureTheArtefact }, + { "FreeMp", rpgtFreeMp }, { 0, 0 } }; @@ -53,6 +55,9 @@ bool GameTypeChooser::LoadLTX(CInifile& ini, LPCSTR sect_name, bool bOldFormat) case rpgtGameCaptureTheArtefact: m_GameType.set(eGameIDCaptureTheArtefact,TRUE); break; + case rpgtFreeMp: + m_GameType.set(eGameIDFreeMP, TRUE); + break; } }else m_GameType.assign (ini.r_u16 (sect_name, "game_type"));