mirror of
https://github.com/celisej567/source-engine.git
synced 2026-01-05 22:09:59 +03:00
engine: fix hdr to ldr conversion
This commit is contained in:
@@ -1110,7 +1110,7 @@ void CollisionBSPData_LoadDispInfo( CCollisionBSPData *pBSPData )
|
||||
// get face data
|
||||
//
|
||||
int face_lump_to_load = LUMP_FACES;
|
||||
if ( /*g_pMaterialSystemHardwareConfig->GetHDRType() != HDR_TYPE_NONE &&*/
|
||||
if ( g_pMaterialSystemHardwareConfig->GetHDREnabled() && /*g_pMaterialSystemHardwareConfig->GetHDRType() != HDR_TYPE_NONE &&*/
|
||||
CMapLoadHelper::LumpSize( LUMP_FACES_HDR ) > 0 )
|
||||
{
|
||||
face_lump_to_load = LUMP_FACES_HDR;
|
||||
|
||||
Reference in New Issue
Block a user