mirror of
https://github.com/celisej567/source-engine.git
synced 2026-01-04 18:09:53 +03:00
engine: fix hdr to ldr conversion
This commit is contained in:
@@ -549,15 +549,15 @@ void CPortal_Player::UpdateExpression( void )
|
||||
GetExpresser()->SetOuter( this );
|
||||
|
||||
ClearExpression();
|
||||
AI_Response response;
|
||||
bool result = SpeakFindResponse( response, g_pszChellConcepts[iConcept] );
|
||||
if ( !result )
|
||||
AI_Response *response = SpeakFindResponse( g_pszChellConcepts[iConcept] );
|
||||
if ( !response )
|
||||
{
|
||||
m_flExpressionLoopTime = gpGlobals->curtime + RandomFloat(30,40);
|
||||
return;
|
||||
}
|
||||
|
||||
char const *szScene = response.GetResponsePtr();
|
||||
char const szScene[256];
|
||||
response->GetResponse( szScene, sizeof(szScene) );
|
||||
|
||||
// Ignore updates that choose the same scene
|
||||
if ( m_iszExpressionScene != NULL_STRING && stricmp( STRING(m_iszExpressionScene), szScene ) == 0 )
|
||||
|
||||
@@ -52,7 +52,7 @@ $Configuration
|
||||
$Compiler
|
||||
{
|
||||
$AdditionalIncludeDirectories "$BASE;.\;$SRCDIR\game\shared;$SRCDIR\utils\common;$SRCDIR\game\shared\econ;$SRCDIR\game\server\NextBot"
|
||||
$PreprocessorDefinitions "$BASE;GAME_DLL;VECTOR;VERSION_SAFE_STEAM_API_INTERFACES;PROTECTED_THINGS_ENABLE;sprintf=use_Q_snprintf_instead_of_sprintf;strncpy=use_Q_strncpy_instead;_snprintf=use_Q_snprintf_instead"
|
||||
$PreprocessorDefinitions "$BASE;GAME_DLL;VECTOR;VERSION_SAFE_STEAM_API_INTERFACES;PROTECTED_THINGS_ENABLE;strncpy=use_Q_strncpy_instead;_snprintf=use_Q_snprintf_instead"
|
||||
$PreprocessorDefinitions "$BASE;SWDS" [$POSIX]
|
||||
$PreprocessorDefinitions "$BASE;fopen=dont_use_fopen" [$WINDOWS||$X360]
|
||||
$Create/UsePrecompiledHeader "Use Precompiled Header (/Yu)"
|
||||
|
||||
Reference in New Issue
Block a user