mirror of
https://github.com/mapbase-source/source-sdk-2013.git
synced 2025-02-05 02:00:34 +03:00
Fix related interactions having greater delays stomped out
This commit is contained in:
parent
591039439c
commit
959332b343
@ -15303,7 +15303,8 @@ void CAI_BaseNPC::StartScriptedNPCInteraction( CAI_BaseNPC *pOtherNPC, ScriptedN
|
|||||||
|
|
||||||
if ( Matcher_NamesMatch( pszInteraction, STRING( pOtherInteraction->iszInteractionName ) ) && pOtherInteraction != pInteraction )
|
if ( Matcher_NamesMatch( pszInteraction, STRING( pOtherInteraction->iszInteractionName ) ) && pOtherInteraction != pInteraction )
|
||||||
{
|
{
|
||||||
pOtherInteraction->flNextAttemptTime = pInteraction->flNextAttemptTime;
|
if (pOtherInteraction->flNextAttemptTime < pInteraction->flNextAttemptTime)
|
||||||
|
pOtherInteraction->flNextAttemptTime = pInteraction->flNextAttemptTime;
|
||||||
|
|
||||||
// Not looking for multiple
|
// Not looking for multiple
|
||||||
if (!bWildCard)
|
if (!bWildCard)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user