(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:
Darkvater
2006-10-15 23:48:34 +00:00
parent 23ab588a61
commit 9e8b077426
6 changed files with 31 additions and 8 deletions

View File

@@ -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,
};