equal
deleted
inserted
replaced
1443 qsort(_fios_list + sort_start, s_amount, sizeof(FiosItem), compare_FiosItems); |
1443 qsort(_fios_list + sort_start, s_amount, sizeof(FiosItem), compare_FiosItems); |
1444 } |
1444 } |
1445 |
1445 |
1446 static void GenerateFileName() |
1446 static void GenerateFileName() |
1447 { |
1447 { |
1448 /* Check if we are not a specatator who wants to generate a name.. |
1448 /* Check if we are not a spectator who wants to generate a name.. |
1449 Let's use the name of player #0 for now. */ |
1449 Let's use the name of player #0 for now. */ |
1450 const Player *p = GetPlayer(IsValidPlayer(_local_player) ? _local_player : PLAYER_FIRST); |
1450 const Player *p = GetPlayer(IsValidPlayer(_local_player) ? _local_player : PLAYER_FIRST); |
1451 |
1451 |
1452 SetDParam(0, p->index); |
1452 SetDParam(0, p->index); |
1453 SetDParam(1, _date); |
1453 SetDParam(1, _date); |