JavaScript is required to use Bungie.net

Service Alert
All Destiny releases will be temporarily offline tomorrow for scheduled maintenance. Please stay tuned to @BungieHelp for updates.

Forums

10/5/2012 5:06:08 AM
0
[quote][b]Posted by:[/b] Razgriz Berkut Whenever there is a bigger number than largest, then you update larger to what largest is. Then you set largest to what number is.[/quote] This. Costly Axis explained it pretty well, I think: [quote]When you set your new largest value, you need to then also update the second largest value to the previously largest number. This is because if the largest value was dwarfed, then so too was the second largest one by the previous largest value.[/quote] All I added was the one line of code to do this (and the braces since there are now two statements).
English

Posting in language:

 

Play nice. Take a minute to review our Code of Conduct before submitting your post. Cancel Edit Create Fireteam Post

You are not allowed to view this content.
;
preload icon
preload icon
preload icon