Skip to content

Commit

Permalink
Fix FreeMP choose
Browse files Browse the repository at this point in the history
  • Loading branch information
ForserX committed Sep 25, 2024
1 parent b7168e9 commit ad59a95
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/Editors/LevelEditor/Engine/gametype_chooser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ enum ERPGameType{ // [0..255]
rpgtGameTeamDeathmatch,
rpgtGameArtefactHunt,
rpgtGameCaptureTheArtefact,
rpgtFreeMp,
rpgtGameCount,
};

Expand All @@ -19,6 +20,7 @@ xr_token rpoint_game_type[]={
{ "TeamDeathmatch", rpgtGameTeamDeathmatch },
{ "ArtefactHunt", rpgtGameArtefactHunt },
{ "CaptureTheArtefact", rpgtGameCaptureTheArtefact },
{ "FreeMp", rpgtFreeMp },
{ 0, 0 }
};

Expand Down Expand Up @@ -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"));
Expand Down

0 comments on commit ad59a95

Please sign in to comment.