Bug 4918 - Gametype clamping using constant integer in missionpack ui
Status: RESOLVED FIXED
Alias: None
Product: ioquake3
Classification: Unclassified
Component: Misc
Version: GIT MASTER
Hardware: All All
: P3 normal
Assignee: Zachary J. Slater
QA Contact: ioquake3 bugzilla mailing list
URL:
Depends on:
Blocks:
 
Reported: 2011-03-04 01:27 EST by Zack Middleton
Modified: 2011-03-04 15:23:41 EST
1 user (show)

See Also:


Attachments
Use GT_MAX_GAME_TYPE for clamping gametype in missionpack ui. (1.24 KB, patch)
2011-03-04 01:27 EST, Zack Middleton

Description Zack Middleton 2011-03-04 01:27:07 EST
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.
Comment 1 Thilo Schulz 2011-03-04 15:23:41 EST
Yes. Applied r1902