One more.

This commit is contained in:
ZehM4tt 2016-06-11 09:52:15 +02:00
parent c53f2903a8
commit 05c33409a1

View file

@ -3222,7 +3222,10 @@ void CAI_BaseNPC::UpdateEfficiency( bool bInPVS )
}
}
iSound = pCurrentSound->NextSound();
if (pCurrentSound)
iSound = pCurrentSound->NextSound();
else
break;
}
}
@ -3409,7 +3412,10 @@ void CAI_BaseNPC::UpdateSleepState( bool bInPVS )
break;
}
iSound = pCurrentSound->NextSound();
if (pCurrentSound)
iSound = pCurrentSound->NextSound();
else
break;
}
}
}