(svn r6787) -Codechange: Use PLAYER_NEW_COMPANY as a player identifier wishing to become a
new player instead of a 0.
This commit is contained in:
3
player.h
3
player.h
@@ -213,7 +213,8 @@ VARDEF PlayerID _current_player;
|
||||
|
||||
/* Player identifiers All players below MAX_PLAYERS are playable
|
||||
* players, above, they are special, computer controlled players */
|
||||
enum {
|
||||
enum Players {
|
||||
PLAYER_NEW_COMPANY = 254, ///< Command 'player' in Multiplayer to create a new company
|
||||
PLAYER_SPECTATOR = 255, ///< Spectator in Multiplayer or the player in the scenario editor
|
||||
MAX_PLAYERS = 8,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user