zenorogue / hyperrogue

A SDL roguelike in a non-euclidean world
GNU General Public License v2.0
554 stars 66 forks source link

Draw player's hair above their face #364

Open IWonderWhatThisAPIDoes opened 4 months ago

IWonderWhatThisAPIDoes commented 4 months ago

The polygon for default player character's hair is called shPHead. I believe this has led to an oversight where the polygon is enqueued on layer/priority MONSTER_HEAD, which is actually below MONSTER_FACE, causing their face to be rendered over their hair. If that layering was intentional, please ignore this PR.

Left is original, right is after switching shPHead to layer/priority MONSTER_HAIR. image