mirror of
https://github.com/nillerusr/source-engine.git
synced 2026-08-08 01:39:36 +00:00
game: init uninitialized variables
This commit is contained in:
@@ -1988,7 +1988,7 @@ void CNPC_CScanner::BlindFlashTarget( CBaseEntity *pTarget )
|
||||
|
||||
if ( tr.startsolid == false && tr.fraction == 1.0)
|
||||
{
|
||||
color32 white = { 255, 255, 255, SCANNER_FLASH_MAX_VALUE * dotPr };
|
||||
color32 white = { 255, 255, 255, (uint8)(SCANNER_FLASH_MAX_VALUE * dotPr) };
|
||||
|
||||
if ( ( g_pMaterialSystemHardwareConfig != NULL ) && ( g_pMaterialSystemHardwareConfig->GetHDRType() != HDR_TYPE_NONE ) )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user