mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-13 18:17:49 -04:00
Fix error due to no Empty()
This commit is contained in:
@ -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);
|
||||
|
Reference in New Issue
Block a user