mirror of
https://github.com/mapbase-source/source-sdk-2013.git
synced 2024-12-26 23:05:30 +03:00
Fixed a compile error from when NEW_RESPONSE_SYSTEM is disabled
This commit is contained in:
parent
e10a4d6613
commit
4d3f51a720
@ -96,7 +96,10 @@ bool CBaseMultiplayerPlayer::SpeakConcept( AI_Response &response, int iConcept )
|
|||||||
concept.SetSpeaker(this);
|
concept.SetSpeaker(this);
|
||||||
return FindResponse( response, concept );
|
return FindResponse( response, concept );
|
||||||
#else
|
#else
|
||||||
return SpeakFindResponse( response, g_pszMPConcepts[iConcept] );
|
AI_Response *pResponse = SpeakFindResponse( g_pszMPConcepts[iConcept] );
|
||||||
|
if (pResponse)
|
||||||
|
response = *pResponse;
|
||||||
|
return pResponse != NULL;
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user