losses streak reset when losing after a win
@tspiteri
Submitted by Trevor Spiteri Assigned to Ian Peters
Description
In the file score.c, in the function score_add_lose(), there is the following code:
if (streaks_current < streaks_lose_number) { streaks_lose_number = - streaks_current; }
The condition should be:
if (-streaks_current > streaks_lose_number)
As it is, the condition is always true, as streaks_current is negative and streaks_lose_number is positive. This has the consequence that the loss streak is always reset when a loss follows a win.
Resolution: RESOLVED FIXED