forked from mirror/OpenTTD
(svn r1496) -Fix: highscore no longer crashes in network games with a dedicated server. At the end of the game (can only be set by the server) the highscore is shown for the top5 companies of that game
-Fix: fixed some compiler warnings -Added PF_NETWORK_ONLY flag to settings. Such a setting can only be modified in a network game.
This commit is contained in:
5
player.h
5
player.h
@@ -207,9 +207,10 @@ typedef struct HighScore {
|
||||
uint16 score;
|
||||
} HighScore;
|
||||
|
||||
VARDEF HighScore _highscore_table[4][5]; // 4 difficulty-settings; top 5
|
||||
VARDEF HighScore _highscore_table[5][5]; // 4 difficulty-settings (+ network); top 5
|
||||
void SaveToHighScore(void);
|
||||
void LoadFromHighScore(void);
|
||||
int SaveHighScoreValue(const Player *p);
|
||||
int8 SaveHighScoreValue(const Player *p);
|
||||
int8 SaveHighScoreValueNetwork(void);
|
||||
|
||||
#endif /* PLAYER_H */
|
||||
|
Reference in New Issue
Block a user