diff options
author | kai <kai@zittrig.eu> | 2020-04-28 18:05:53 +0100 |
---|---|---|
committer | kai <kai@zittrig.eu> | 2020-04-28 18:05:53 +0100 |
commit | 79c76f434c9a24fa99ca7026ee4529b1e31914b9 (patch) | |
tree | a118491adb11b5070ef0ad938fa3b7277e8dfadc /src | |
parent | 27f9ea108e1683f226bc4eb6f4ae644ae2997db0 (diff) |
update teamvote format
Diffstat (limited to 'src')
-rw-r--r-- | src/cgame/cg_draw.c | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/src/cgame/cg_draw.c b/src/cgame/cg_draw.c index bdaa20b..0d3af2b 100644 --- a/src/cgame/cg_draw.c +++ b/src/cgame/cg_draw.c @@ -3171,8 +3171,8 @@ static void CG_DrawVote( void ) Q_strncpyz( nokey, CG_KeyBinding( "vote no" ), sizeof( nokey ) ); s = va( "^9Vote called! ^7- ^C%s^7", cgs.voteString ); s2 = va( "^9Status ^7- ^7[^2%s^7]^ZYes: %i ^7- ^7[^1%s^7]^ANo: %i^7 - ^9%i^7 seconds remaining,", yeskey, cgs.voteYes, nokey, cgs.voteNo, sec ); - CG_Text_Paint( 8, 340, 0.3f, white, s, 0, 0, ITEM_TEXTSTYLE_NORMAL ); - CG_Text_Paint( 8, 360, 0.3f, white, s2, 0, 0, ITEM_TEXTSTYLE_NORMAL ); + CG_Text_Paint( 8, 320, 0.3f, white, s, 0, 0, ITEM_TEXTSTYLE_NORMAL ); + CG_Text_Paint( 8, 340, 0.3f, white, s2, 0, 0, ITEM_TEXTSTYLE_NORMAL ); } /* @@ -3182,7 +3182,7 @@ CG_DrawTeamVote */ static void CG_DrawTeamVote( void ) { - char *s; + char *s, *s2; int sec, cs_offset; vec4_t white = { 1.0f, 1.0f, 1.0f, 1.0f }; char yeskey[ 32 ], nokey[ 32 ]; @@ -3216,6 +3216,12 @@ static void CG_DrawTeamVote( void ) yeskey, cgs.teamVoteYes[cs_offset], nokey, cgs.teamVoteNo[ cs_offset ] ); + s = va( "^5Team vote called! ^7- ^C%s^7", cgs.teamVoteString[ cs_offset ] ); + s2 = va( "^9Status ^7- ^7[^2%s^7]^ZYes: %i ^7- ^7[^1%s^7]^ANo: %i^7 - ^9%i^7 seconds remaining,", + yeskey, cgs.teamVoteYes[ cs_offset ], nokey, cgs.teamVoteNo[ cs_offset ], sec ); + CG_Text_Paint( 8, 360, 0.3f, white, s, 0, 0, ITEM_TEXTSTYLE_NORMAL ); + CG_Text_Paint( 8, 380, 0.3f, white, s2, 0, 0, ITEM_TEXTSTYLE_NORMAL ); + CG_Text_Paint( 8, 360, 0.3f, white, s, 0, 0, ITEM_TEXTSTYLE_NORMAL ); } |