Created attachment 2625[details]
Use GT_MAX_GAME_TYPE for clamping gametype in missionpack ui.
The missionpack ui clamps value for g_gametype using constant integers instead of GT_MAX_GAME_TYPE. This would be a problem if more gametypes were added beyond the hardcoded values.
Created attachment 2625 [details] Use GT_MAX_GAME_TYPE for clamping gametype in missionpack ui. The missionpack ui clamps value for g_gametype using constant integers instead of GT_MAX_GAME_TYPE. This would be a problem if more gametypes were added beyond the hardcoded values.