Skip to content

Commit 050e825

Browse files
Resolved draconian hat issue that seemingly invalidated all other race-hat-relationships
1 parent a7f5832 commit 050e825

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

crawl-ref/source/tiledoll.cc

-6
Original file line numberDiff line numberDiff line change
@@ -567,12 +567,6 @@ void pack_doll_buf(SubmergedTileBuffer& buf, const dolls_data &doll,
567567
flags[TILEP_PART_BOOTS] = is_cent ? TILEP_FLAG_NORMAL : TILEP_FLAG_HIDE;
568568
}
569569

570-
// Special case for draconians missing their headgear
571-
const bool is_drac = is_player_tile(doll.parts[TILEP_PART_BASE],
572-
TILEP_BASE_DRACONIAN);
573-
if (doll.parts[TILEP_PART_HELM] >= TILEP_PART_DRCHEAD)
574-
flags[TILEP_PART_HELM] = is_drac ? TILEP_FLAG_NORMAL : TILEP_FLAG_HIDE;
575-
576570
// Set up mcache data based on equipment. We don't need this lookup if both
577571
// pairs of offsets are defined in Options.
578572
int draw_info_count = 0, dind = 0;

crawl-ref/source/tilepick-p.cc

+1-1
Original file line numberDiff line numberDiff line change
@@ -994,7 +994,7 @@ void tilep_calc_flags(const dolls_data &doll, int flag[])
994994
else if (doll.parts[TILEP_PART_BASE] >= TILEP_BASE_DRACONIAN_FIRST
995995
&& doll.parts[TILEP_PART_BASE] <= TILEP_BASE_DRACONIAN_LAST)
996996
{
997-
flag[TILEP_PART_HAIR] = flag[TILEP_PART_HELM] = TILEP_FLAG_HIDE;
997+
flag[TILEP_PART_HAIR] = TILEP_FLAG_HIDE;
998998
}
999999
else if (is_player_tile(doll.parts[TILEP_PART_BASE], TILEP_BASE_FELID))
10001000
{

0 commit comments

Comments
 (0)