Pink Petal Games

Feedback => Bugs and Game balancing => Topic started by: tlib on May 08, 2010, 12:32:30 PM

Title: Your Daugher Bug Fix
Post by: tlib on May 08, 2010, 12:32:30 PM
Hi,

I've been looking at why "Your Daughter" seems to vanish after several weeks.

It's due to it being set as a temporary trait so girls lose "Your Daughter" trait after 20 weeks.

Fix is simple.

in cGirls.cpp lines 4046 and 4069 (Rev 348) change from:
Code: [Select]
sprog->add_trait("Incest");
to:
Code: [Select]
sprog->add_trait("Incest",false);

and line 4059 (Rev 348) change from:
Code: [Select]
sprog->add_trait("Your Daughter");
to:
Code: [Select]
sprog->add_trait("Your Daughter",false);


Tlib
Title: Re: Your Daugher Bug Fix
Post by: Dagoth on May 08, 2010, 01:08:46 PM
Nice catch, I'll add it in my next commit.
Title: Re: Your Daugher Bug Fix
Post by: tlib on May 08, 2010, 04:18:48 PM
Hi

Just spotted a bug in AddTraits

in cGirls.cpp Line 729 (rev 348) should be a "break" not "return" as currently it skips the sanity checks.


Tlib
Title: Re: Your Daugher Bug Fix
Post by: Dagoth on May 08, 2010, 08:45:28 PM
Hi

Just spotted a bug in AddTraits

in cGirls.cpp Line 729 (rev 348) should be a "break" not "return" as currently it skips the sanity checks.


Tlib
Should be handled by WonderDog's patch here, which isn't on SVN yet:
http://pinkpetal.org/index.php?topic=352.msg6457#msg6457