Fixed a compile error from when NEW_RESPONSE_SYSTEM is disabled

This commit is contained in:
Blixibon 2021-03-17 10:45:31 -05:00
parent e10a4d6613
commit 4d3f51a720

View File

@ -96,7 +96,10 @@ bool CBaseMultiplayerPlayer::SpeakConcept( AI_Response &response, int iConcept )
concept.SetSpeaker(this);
return FindResponse( response, concept );
#else
return SpeakFindResponse( response, g_pszMPConcepts[iConcept] );
AI_Response *pResponse = SpeakFindResponse( g_pszMPConcepts[iConcept] );
if (pResponse)
response = *pResponse;
return pResponse != NULL;
#endif
}