Skip to content

Commit

Permalink
Fix placement of Team Arena voiceMenu
Browse files Browse the repository at this point in the history
  • Loading branch information
zturtleman committed May 14, 2018
1 parent 9677c7e commit dce9476
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions code/cgame/cg_newdraw.c
Original file line number Diff line number Diff line change
Expand Up @@ -1804,13 +1804,17 @@ int CG_ClientNumFromName(const char *p) {
void CG_ShowResponseHead(void) {
float x, y, w, h;

CG_SetScreenPlacement( PLACE_LEFT, PLACE_TOP );

x = 72;
y = w = h = 0;
CG_AdjustFrom640( &x, &y, &w, &h );

Menus_OpenByName("voiceMenu");
trap_Cvar_Set("cl_conXOffset", va("%d", (int)x));
cg.voiceTime = cg.time;

CG_PopScreenPlacement();
}

void CG_RunMenuScript(char **args) {
Expand Down

0 comments on commit dce9476

Please sign in to comment.