1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-25 09:30:35 +00:00

racing:: false princess enemy is shown as female

This commit is contained in:
Zeno Rogue 2019-01-11 15:00:53 +01:00
parent 6d720f157f
commit b38e0b6752

View File

@ -45,7 +45,7 @@ string csname(charstyle& cs) {
}
int playergender() {
return (getcs().charid&1) ? GEN_F : GEN_M;
return (getcs().charid >= 0 && (getcs().charid&1)) ? GEN_F : GEN_M;
}
int princessgender() {
int g = playergender();