2
3
mirror of https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git synced 2025-07-14 10:37:41 -04:00

Fix error due to no Empty()

(cherry picked from commit e81af06584)
This commit is contained in:
2022-01-24 19:06:23 -08:00
committed by rarified
parent da5ba1062b
commit fd260827aa

View File

@ -1981,7 +1981,7 @@ hsBool cyAvatar::IsCurrentBrainHuman()
void cyAvatar::SetDontPanicLink(bool value)
{
if (!fRecvr.empty()) {
if ( fRecvr.Count() > 0 ) {
plArmatureMod* mod = plAvatarMgr::FindAvatar(fRecvr[0]);
if (mod)
mod->SetDontPanicLinkFlag(value);