/************************************************************************************/
        /// <summary>
        /// Frame lock is assumed to be held before this function is called.
        /// </summary>
        protected static Actor GetNonPetActor(string strName)
        {
            Actor PlayerActor = s_Extension.Actor(strName);

            /// Try again if it's invalid or it's a pet.
            if (!PlayerActor.IsValid || PlayerActor.IsAPet)
            {
                PlayerActor = s_Extension.Actor(strName, "notid", PlayerActor.ID.ToString());
            }

            if (!PlayerActor.IsValid || PlayerActor.IsAPet)
            {
                PlayerActor = null;
            }

            return(PlayerActor);
        }