diff --git a/code/ryzom/common/src/game_share/item_type.cpp b/code/ryzom/common/src/game_share/item_type.cpp index ac29cb1e3..ef21b3850 100644 --- a/code/ryzom/common/src/game_share/item_type.cpp +++ b/code/ryzom/common/src/game_share/item_type.cpp @@ -88,6 +88,7 @@ namespace ITEM_TYPE { "CAMPSFIRE", CAMPSFIRE }, { "MEKTOUB_PACKER_TICKET", MEKTOUB_PACKER_TICKET }, { "MEKTOUB_MOUNT_TICKET", MEKTOUB_MOUNT_TICKET }, + { "ANIMAL_TICKET", ANIMAL_TICKET }, { "FOOD", FOOD }, { "MAGICIAN_STAFF", MAGICIAN_STAFF }, { "HAIR_MALE", HAIR_MALE }, diff --git a/code/ryzom/common/src/game_share/item_type.h b/code/ryzom/common/src/game_share/item_type.h index a0efb811d..e32e86905 100644 --- a/code/ryzom/common/src/game_share/item_type.h +++ b/code/ryzom/common/src/game_share/item_type.h @@ -83,6 +83,7 @@ namespace ITEM_TYPE CAMPSFIRE, MEKTOUB_PACKER_TICKET, MEKTOUB_MOUNT_TICKET, + ANIMAL_TICKET, FOOD, MAGICIAN_STAFF, HAIR_MALE, diff --git a/code/ryzom/common/src/game_share/people.h b/code/ryzom/common/src/game_share/people.h index 69c515a13..65cc92d64 100644 --- a/code/ryzom/common/src/game_share/people.h +++ b/code/ryzom/common/src/game_share/people.h @@ -85,11 +85,12 @@ inline uint8 getCivilisationId(CPeople::TPeople people) return 0xFF; } -/// Return the pet type, 1 for Mount, 2 for Packer (otherwise 0) +/// Return the pet type, 1 for Mount, 2 for Packer, 3 for Creature (pets) (otherwise 0) inline uint getPetType( CPeople::TPeople peopleType ) { switch ( peopleType ) { + case CPeople::Creature: return 3; case CPeople::MektoubPacker: return 2; case CPeople::MektoubMount: return 1; default: return 0;