fix wrong buttons in add bot menu ingame

This commit is contained in:
q3rally 2016-05-13 20:07:43 +00:00
parent 92d6022737
commit bb550a75ef
2 changed files with 15 additions and 5 deletions

View file

@ -293,8 +293,7 @@ static void UI_RemoveBotsMenu_Init( void ) {
removeBotsMenuInfo.bots[n].style = UI_LEFT|UI_SMALLFONT;
}
removeBotsMenuInfo.delete.generic.type = MTYPE_BITMAP;
removeBotsMenuInfo.delete.generic.name = ART_DELETE0;
removeBotsMenuInfo.delete.generic.type = MTYPE_PTEXT;
removeBotsMenuInfo.delete.generic.flags = QMF_LEFT_JUSTIFY|QMF_PULSEIFFOCUS;
removeBotsMenuInfo.delete.generic.id = ID_DELETE;
removeBotsMenuInfo.delete.generic.callback = UI_RemoveBotsMenu_DeleteEvent;
@ -304,8 +303,7 @@ static void UI_RemoveBotsMenu_Init( void ) {
removeBotsMenuInfo.delete.height = 64;
removeBotsMenuInfo.delete.focuspic = ART_DELETE1;
removeBotsMenuInfo.back.generic.type = MTYPE_BITMAP;
removeBotsMenuInfo.back.generic.name = ART_BACK0;
removeBotsMenuInfo.back.generic.type = MTYPE_PTEXT;
removeBotsMenuInfo.back.generic.flags = QMF_LEFT_JUSTIFY|QMF_PULSEIFFOCUS;
removeBotsMenuInfo.back.generic.id = ID_BACK;
removeBotsMenuInfo.back.generic.callback = UI_RemoveBotsMenu_BackEvent;

View file

@ -857,9 +857,21 @@ q3rallycode
engine\resync_svn.sh
[Open project files]
0=engine\code\qcommon\q_shared.h
1=engine\code\AL\al.h
2=engine\code\q3_ui\ui_rally_servers.c
3=engine\code\q3_ui\ui_removebots.c
[Selected Project Files]
Main=
Selected=engine\code\qcommon\q_shared.h
Selected=engine\code\q3_ui\ui_removebots.c
[engine\code\qcommon\q_shared.h]
TopLine=15
Caret=39,58
[engine\code\AL\al.h]
TopLine=273
Caret=1,289
[engine\code\q3_ui\ui_rally_servers.c]
TopLine=1780
Caret=1,1796
[engine\code\q3_ui\ui_removebots.c]
TopLine=210
Caret=54,306