Project

Profile

Help

HostedRedmine.com has moved to the Planio platform. All logins and passwords remained the same. All users will be able to login and use Redmine just as before. Read more...

Bug #763884 ยป server_report_angry_citizens.patch

Anonymous, 2018-07-31 01:08 AM

View differences:

server/report.c
255 255
	break;
256 256
      case HISTORIAN_HAPPIEST: 
257 257
	size[j].value =
258
	    (((pplayer->score.happy - pplayer->score.unhappy) * 1000) /
259
	     (1 + total_player_citizens(pplayer)));
258
            (((pplayer->score.happy - pplayer->score.unhappy
259
               - 2 * pplayer->score.angry) * 1000) /
260
             (1 + total_player_citizens(pplayer)));
260 261
	break;
261 262
      case HISTORIAN_LARGEST:
262 263
	size[j].value = total_player_citizens(pplayer);
    (1-1/1)