mirror of https://github.com/ioquake/ioq3.git
Make map names in q3_ui map select menu be uppercase
Makes map names match on both pages of start server menu.
This commit is contained in:
parent
f4d68590c2
commit
2c22ead078
|
@ -331,6 +331,7 @@ static void StartServer_LevelshotDraw( void *self ) {
|
||||||
int h;
|
int h;
|
||||||
int n;
|
int n;
|
||||||
const char *info;
|
const char *info;
|
||||||
|
char mapname[ MAX_NAMELENGTH ];
|
||||||
|
|
||||||
b = (menubitmap_s *)self;
|
b = (menubitmap_s *)self;
|
||||||
|
|
||||||
|
@ -366,7 +367,9 @@ static void StartServer_LevelshotDraw( void *self ) {
|
||||||
n = s_startserver.page * MAX_MAPSPERPAGE + b->generic.id - ID_PICTURES;
|
n = s_startserver.page * MAX_MAPSPERPAGE + b->generic.id - ID_PICTURES;
|
||||||
|
|
||||||
info = UI_GetArenaInfoByNumber( s_startserver.maplist[ n ]);
|
info = UI_GetArenaInfoByNumber( s_startserver.maplist[ n ]);
|
||||||
UI_DrawString( x, y, Info_ValueForKey( info, "map" ), UI_CENTER|UI_SMALLFONT, color_orange );
|
Q_strncpyz( mapname, Info_ValueForKey( info, "map"), MAX_NAMELENGTH );
|
||||||
|
Q_strupr( mapname );
|
||||||
|
UI_DrawString( x, y, mapname, UI_CENTER|UI_SMALLFONT, color_orange );
|
||||||
|
|
||||||
x = b->generic.x;
|
x = b->generic.x;
|
||||||
y = b->generic.y;
|
y = b->generic.y;
|
||||||
|
|
Loading…
Reference in New Issue