WM code patch notes 04/08/2013(b):
"Controlled Gangs" screen - select a gang, select a mission name, screen lists Daily Cost, should be Weekly Cost.
Fixed
----------------
in Constants.h, has const int NUM_OBJECTIVES = 12 followed by only 10 objectives, 0--9.
Patched to = 10
----------------
At end of cBrothel.cpp's function "double cBrothelManager::calc_pilfering(sGirl *girl)"
code (to avoid cases like a zero-money slave addict steals 20%, same non-slave steals zero)
otherwise, she stays honest
*/
return 0.0;
should be:
otherwise, she stays honest (aside from zero-money addict factored-in earlier)
*/
return factor;
Fixed.
----------
in cBrothel.cpp, because this check is now done after all usage of "house" var, for proper check, move
/*
* this shouldn't happen. That said...
*/
if(house > girl->m_Pay) house = girl->m_Pay;
to just after
int house = int(house_factor * girl->m_Pay);
Fixed.
----------
Add notes in cBrothel.cpp, in area
// MYR: I'm really curious about what goes in these if statements
if(g_Gangs.GetNumBusinessExtorted() < 40 && GetNumBrothels() >= 2)
add notes: " // Future to include inside these ifs, the actions to take when not enough businesses controlled to support the number of brothels currently owned (according to formula that allowed original purchase)."
//Suggest future something like not allowing any net profit from the brothels that are unsupported by enough businesses. Forcing sale of a brothel would be too drastic; maybe allowing sale if player wants to would be an option to present.
Added these comments to code 04/08/2013.
-----------------------------------
In the five files sent, corrected misspelling 'bussiness' / 'BUSSINESS' to 'business' / 'BUSINESS'
Left in the misspelling in a few modules to correct next revision; used Solution find/replace so will work since compiles.
Fixed.
-----------------
int cGirls::DrawGirl
has no "default" for switch, giving infinite loop if function fed invalid ImageType. See cGirls::GetImageSurface
Fixed in cGirls.cpp module sent earlier 04/08/2013.
--------------