From b38e0b675272f342fe4cfbfe3e204bb0c062602a Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Fri, 11 Jan 2019 15:00:53 +0100 Subject: [PATCH] racing:: false princess enemy is shown as female --- config.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.cpp b/config.cpp index d634135c..6469ed40 100644 --- a/config.cpp +++ b/config.cpp @@ -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();