Skip to content

Commit

Permalink
Merge branch 'qsrebase' of https://github.com/timbergeron/QSS-M into …
Browse files Browse the repository at this point in the history
…qsrebase
  • Loading branch information
timbergeron committed Sep 18, 2024
2 parents da535dc + b254023 commit e242193
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
1 change: 0 additions & 1 deletion Quake/cd_null.c
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ void CDAudio_Update(void)

int CDAudio_Init(void)
{
Con_Printf("CDAudio disabled at compile time\n");
return -1;
}

Expand Down
2 changes: 1 addition & 1 deletion Quake/console.c
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,7 @@ void Con_Init (void)
con_linewidth = -1;

//johnfitz -- no need to run Con_CheckResize here
con_linewidth = 38;
con_linewidth = 78;
con_totallines = con_buffersize / con_linewidth;//johnfitz -- con_buffersize replaces CON_TEXTSIZE
con_backscroll = 0;
con_current = con_totallines - 1;
Expand Down
4 changes: 4 additions & 0 deletions Quake/r_part_fte.c
Original file line number Diff line number Diff line change
Expand Up @@ -466,6 +466,7 @@ static cvar_t r_part_density = {"r_part_density", "1"};
static cvar_t r_part_maxparticles = {"r_part_maxparticles", "65536"};
static cvar_t r_part_maxdecals = {"r_part_maxdecals", "8192"};
static cvar_t r_lightflicker = {"r_lightflicker", "1"};
extern cvar_t r_particles; // woods (vk)

static float particletime;

Expand Down Expand Up @@ -7763,6 +7764,9 @@ void PScript_DrawParticles (void)
pframetime = 1;
oldtime = cl.time;

if (!r_particles.value) // woodd (vk)
return;

if (r_part_rain.value)
{
for (i = 0; i < cl.num_entities; i++)
Expand Down

0 comments on commit e242193

Please sign in to comment.