Compare commits

..

2 commits

Author SHA1 Message Date
Zsar
e174e2cfac Merge branch 'animalOnAnimalFix' into 'master'
fix issue #2 "Exception on animal mating"

See merge request AbstractConcept/privacy-please!2
2023-04-11 19:40:14 +00:00
Zsar
96db2e5852 fix issue #2 "Exception on animal mating"
+ function SexInteractionUtility::getBestialityRoles extracted from functions SexActIsBestialityWithOrdinaryAnimal, SexActIsBestialityWithSpecialAnimal
2023-04-11 21:33:47 +02:00

View file

@ -163,8 +163,8 @@ namespace Privacy_Please
*/
var target = jobDriver.Partner;
if (actor.IsAnimal() && target.RaceProps.Humanlike) return (true, target, actor);
else if (actor.RaceProps.Humanlike && target.IsAnimal()) return (true, actor, target);
if (actor.IsAnimal() && target.IsColonist) return (true, target, actor);
else if (actor.IsColonist && target.IsAnimal()) return (true, actor, target);
return nope;
}