Forums
Replay list out of order (ninja patch) - Printable Version

+- Forums (https://www.vdrift.net/Forum)
+-- Forum: Community (https://www.vdrift.net/Forum/forumdisplay.php?fid=3)
+--- Forum: Bugs (https://www.vdrift.net/Forum/forumdisplay.php?fid=7)
+--- Thread: Replay list out of order (ninja patch) (/showthread.php?tid=1409)



Replay list out of order (ninja patch) - fudje - 12-20-2010

The order of replays presented by the main menu breaks if you have more than 9 replays recorded, as it is sorted by ascii value of individual characters. Furthermore, it will give you a different replay to the one you selected.
Here's a patch to fix it:

https://github.com/fjwhittle/vdrift/commit/a6351bf2b0cc361444a5b4973c4c792d9d945ca0.diff

Or if you want to annotate it (getting used to github or whatever):

https://github.com/fjwhittle/vdrift/commit/a6351bf2b0cc361444a5b4973c4c792d9d945ca0


- NaN - 12-21-2010

Will look into it asap.


- fudje - 12-21-2010

Oops, that will also need https://github.com/fjwhittle/vdrift/commit/194d2e244c6d61bc342291e84b4ffb16c46aa74e.diff

(Not so ninja now)