Skip to content

Commit 8906644

Browse files
committed
Merge branch 'master' into clcampaign
2 parents 45805e5 + 8e9be57 commit 8906644

3 files changed

Lines changed: 6 additions & 1 deletion

File tree

cl_dll/hl/hl_baseentity.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,8 @@ Vector UTIL_VecToAngles( const Vector &vec ){ return 0; }
108108
CSprite *CSprite::SpriteCreate( const char *pSpriteName, const Vector &origin, BOOL animate ) { return 0; }
109109
void CBeam::PointEntInit( const Vector &start, int endIndex ) { }
110110
CBeam *CBeam::BeamCreate( const char *pSpriteName, int width ) { return NULL; }
111+
const Vector &CBeam::GetStartPos( void ){ return g_vecZero; }
112+
const Vector &CBeam::GetEndPos( void ){ return g_vecZero; }
111113
void CSprite::Expand( float scaleSpeed, float fadeSpeed ) { }
112114

113115
CBaseEntity* CBaseMonster::CheckTraceHullAttack( float flDist, int iDamage, int iDmgType ) { return NULL; }

cl_dll/hud_spectator.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1470,6 +1470,7 @@ void CHudSpectator::DrawOverviewLayer()
14701470
gEngfuncs.pTriAPI->TexCoord2f( 0, 1 );
14711471
gEngfuncs.pTriAPI->Vertex3f( x, y + yStep, z);
14721472
gEngfuncs.pTriAPI->End();
1473+
gEngfuncs.pTriAPI->RenderMode( kRenderNormal );
14731474

14741475
frame++;
14751476
x += xStep;
@@ -1509,6 +1510,7 @@ void CHudSpectator::DrawOverviewLayer()
15091510
gEngfuncs.pTriAPI->TexCoord2f( 1, 0 );
15101511
gEngfuncs.pTriAPI->Vertex3f( x, y + yStep, z );
15111512
gEngfuncs.pTriAPI->End();
1513+
gEngfuncs.pTriAPI->RenderMode( kRenderNormal );
15121514

15131515
frame++;
15141516

@@ -1711,6 +1713,7 @@ void CHudSpectator::DrawOverviewEntities()
17111713
gEngfuncs.pTriAPI->TexCoord2f( 1.0f, 1.0f );
17121714
gEngfuncs.pTriAPI->Vertex3f( x + left[0], y + left[1], ( z + left[2] ) * zScale );
17131715
gEngfuncs.pTriAPI->End ();
1716+
gEngfuncs.pTriAPI->RenderMode( kRenderNormal );
17141717
}
17151718

17161719
void CHudSpectator::DrawOverview()

wscript

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ def configure(conf):
188188
]
189189

190190
opt_cflags = [
191-
'-Werror=declaration-after-statement',
191+
# '-Werror=declaration-after-statement',
192192
'-Werror=enum-conversion',
193193
'-Werror=implicit-int',
194194
'-Werror=implicit-function-declaration',

0 commit comments

Comments
 (0)