Skip to content

Commit dce9476

Browse files
committed
Fix placement of Team Arena voiceMenu
1 parent 9677c7e commit dce9476

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

code/cgame/cg_newdraw.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1804,13 +1804,17 @@ int CG_ClientNumFromName(const char *p) {
18041804
void CG_ShowResponseHead(void) {
18051805
float x, y, w, h;
18061806

1807+
CG_SetScreenPlacement( PLACE_LEFT, PLACE_TOP );
1808+
18071809
x = 72;
18081810
y = w = h = 0;
18091811
CG_AdjustFrom640( &x, &y, &w, &h );
18101812

18111813
Menus_OpenByName("voiceMenu");
18121814
trap_Cvar_Set("cl_conXOffset", va("%d", (int)x));
18131815
cg.voiceTime = cg.time;
1816+
1817+
CG_PopScreenPlacement();
18141818
}
18151819

18161820
void CG_RunMenuScript(char **args) {

0 commit comments

Comments
 (0)