diff --git a/code/ryzom/client/src/game_context_menu.cpp b/code/ryzom/client/src/game_context_menu.cpp index c1e102498..7ef7d73fd 100644 --- a/code/ryzom/client/src/game_context_menu.cpp +++ b/code/ryzom/client/src/game_context_menu.cpp @@ -976,6 +976,14 @@ bool testMenuOptionForPackAnimal( CEntityCL* selectedAnimalInVision, uint index, if(!node) return false; ANIMAL_TYPE::EAnimalType anitype= (ANIMAL_TYPE::EAnimalType)node->getValue32(); + if (anitype != ANIMAL_TYPE::Pet) + { + if (pEnterBag) + pEnterBag->setActive(false); + if (pLeaveBag) + pLeaveBag->setActive(false); + } + // COMMON PART FOR ALL TYPES OF ANIMAL // Is the character mounted on the animal?