mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-26 06:10:56 +00:00
Fix some inconsistent cvar uses
Surprisingly, only two, but they were caught by the different value fields being used, thus the cvar was checked in multiple places. I imagine that's not really all that common, so there may be some inconsistencies between default value and use.
This commit is contained in:
parent
e97b96b536
commit
063c0797d6
2 changed files with 2 additions and 2 deletions
|
@ -128,7 +128,7 @@ R_RenderFisheye (framebuffer_t *cube)
|
|||
{
|
||||
int width = r_refdef.vrect.width;
|
||||
int height = r_refdef.vrect.height;
|
||||
int fov = scr_ffov->int_val;
|
||||
float fov = scr_ffov->value;
|
||||
static int pwidth = -1;
|
||||
static int pheight = -1;
|
||||
static int pfov = -1;
|
||||
|
|
|
@ -940,7 +940,7 @@ SV_Say (qboolean team)
|
|||
}
|
||||
// non-team messages should be seen allways, even if not tracking any
|
||||
// player
|
||||
if (!team && ((host_client->spectator && sv_spectalk->value)
|
||||
if (!team && ((host_client->spectator && sv_spectalk->int_val)
|
||||
|| !host_client->spectator)) {
|
||||
dbuf = SVR_WriteBegin (dem_all, 0, strlen (text->str) + 3);
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue