mirror of
https://github.com/nillerusr/source-engine.git
synced 2026-08-09 10:19:38 +00:00
game: init uninitialized variables
This commit is contained in:
@@ -1539,7 +1539,7 @@ void CTempEnts::BloodSprite( const Vector &org, int r, int g, int b, int a, int
|
||||
{
|
||||
C_LocalTempEntity *pTemp;
|
||||
int frameCount = modelinfo->GetModelFrameCount( model );
|
||||
color32 impactcolor = { r, g, b, a };
|
||||
color32 impactcolor = { (uint8)r, (uint8)g, (uint8)b, (uint8)a };
|
||||
|
||||
//Large, single blood sprite is a high-priority tent
|
||||
if ( ( pTemp = TempEntAllocHigh( org, model ) ) != NULL )
|
||||
|
||||
Reference in New Issue
Block a user