git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10574 c06c8d41-db1a-0410-9941-cceddc491573
GHANBXZA7P4BB4MXPEXE7PVTR42UTD4UHHXZ4RUE5DSFHKILF6OQC bool is_naga = (doll.parts[TILEP_PART_BASE] == TILEP_BASE_NAGA|| doll.parts[TILEP_PART_BASE] == TILEP_BASE_NAGA + 1);
bool is_naga = (doll.parts[TILEP_PART_BASE] >= TILEP_BASE_NAGA&& doll.parts[TILEP_PART_BASE]< tilep_species_to_base_tile(SP_NAGA + 1));
bool is_cent = (doll.parts[TILEP_PART_BASE] == TILEP_BASE_CENTAUR|| doll.parts[TILEP_PART_BASE] == TILEP_BASE_CENTAUR + 1);
bool is_cent = (doll.parts[TILEP_PART_BASE] >= TILEP_BASE_CENTAUR&& doll.parts[TILEP_PART_BASE]< tilep_species_to_base_tile(SP_CENTAUR + 1));
int max_part = tile_player_part_count[cat] + 1;int offset = tile_player_part_start[cat];
// (Except for the base, for which "none" is disallowed.)const int bonus = (cat == TILEP_PART_BASE ? 0 : 1);const int max_part = tile_player_part_count[cat] + bonus;const int offset = tile_player_part_start[cat];