Pink Petal Games
Feedback => Bugs and Game balancing => Topic started by: tlib on May 01, 2010, 11:36:47 AM
-
Hi,
I won't claim to have found this bug as that would be a lie.
Currently any Girls that don't have any money of their own don't get any income.
This is because in cBrothel.cpp under CalculatePay subroutine there is the following code
if(girl->m_Money <= 0)
{
if(girl->m_Money < 0)
girl->m_Money = 0;
return;
}
This code should finish the subroutine if there is no pay but instead it finished the routine if the girl has no money.
The code should be:
if(girl->m_Pay <= 0)
{
if(girl->m_Pay < 0)
girl->m_Pay = 0;
return;
}
Please can one of the developers update it.
Thanks,
Tlib
-
Thanks, I'll go ahead and commit this fix to SVN.
-
How can i fix this, i cant find the file.
-
You'd need the source from SVN. For that matter, a C++ compiler and the knowledge of how to compile the source.