So, correct me if I'm wrong, but as I've been trying to get a better understanding of the game I came across the following code in WorkBarSinger.cpp:
int customers = 0;
if (g_Girls.GetStat(girl, STAT_CONFIDENCE) > 0)
customers += (g_Girls.GetStat(girl, STAT_CONFIDENCE)/25);
if (g_Girls.GetStat(girl, STAT_INTELLIGENCE) > 0)
customers += (g_Girls.GetStat(girl, STAT_SPIRIT)/25);
customers++;
Shouldn't the fifth line read "customers += (g_Girls.GetStat(girl, STAT_INTELLIGENCE)/25);" instead?
It looks to me like the second if statement will check if a girl's intelligence greater than 0, and then measure how many customers she can handle based off her spirit. Is this correct, or am I not understanding something about how this should work?