CBaseEntity: Fix error for when games are not compiled with GS_RENDERFX
This commit is contained in:
parent
0709688f9f
commit
9fb574d920
|
@ -1,5 +1,4 @@
|
|||
CC=fteqcc
|
||||
|
||||
all:
|
||||
mkdir -p ../../data.pk3dir
|
||||
$(CC) progs.src
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
CC=fteqcc
|
||||
|
||||
all:
|
||||
mkdir -p ../../data.pk3dir
|
||||
$(CC) progs.src
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
name "16"
|
||||
font "gfx/shell/arial.ttf"
|
||||
size "16"
|
|
@ -0,0 +1,3 @@
|
|||
name "cr"
|
||||
font "gfx/shell/arial.ttf"
|
||||
size "20"
|
|
@ -0,0 +1,3 @@
|
|||
name "font"
|
||||
font "gfx/shell/arial.ttf"
|
||||
size "12"
|
|
@ -145,10 +145,14 @@ CBaseEntity::RenderFXPass(void)
|
|||
void
|
||||
CBaseEntity::MakeStatic(void)
|
||||
{
|
||||
/* give renderFX the opportunity to write into renderable
|
||||
* fields at least once before forever pulling it out the cgame */
|
||||
#ifdef GS_RENDERFX
|
||||
if (m_iRenderMode > RM_FULLBRIGHT)
|
||||
return;
|
||||
|
||||
RenderFXPass();
|
||||
#endif
|
||||
|
||||
/* static ents = no collision, so let's make a copy for visibility */
|
||||
makestatic(copyentity(this));
|
||||
|
|
|
@ -101,9 +101,6 @@ m_init(void)
|
|||
cvar_set("maxpitch", "89");
|
||||
cvar_set("minpitch", "-89");
|
||||
cvar_set("r_meshpitch", "1");
|
||||
cvar_set("v_bob", "0.01");
|
||||
cvar_set("v_bobcycle", "0.8");
|
||||
cvar_set("v_bobup", "0.5");
|
||||
cvar_set("v_contentblend", "0");
|
||||
cvar_set("gl_mindist", "4");
|
||||
cvar_set("con_textsize", "12");
|
||||
|
|
Loading…
Reference in New Issue