summaryrefslogtreecommitdiff
path: root/network_gui.c
diff options
context:
space:
mode:
authorDarkvater <darkvater@openttd.org>2006-04-29 14:31:16 +0000
committerDarkvater <darkvater@openttd.org>2006-04-29 14:31:16 +0000
commit8faf1838e6fd61772d4dcd4a5bdd43b417046868 (patch)
treef065730f9826e0eef3ee0d92930150df6cbacd8c /network_gui.c
parentd3edede49865e916935ab21f384b8bdd3590fbd9 (diff)
downloadopenttd-8faf1838e6fd61772d4dcd4a5bdd43b417046868.tar.xz
(svn r4623) - Codechange: s/byte/PlayerID/
Diffstat (limited to 'network_gui.c')
-rw-r--r--network_gui.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/network_gui.c b/network_gui.c
index 59496e450..1ad3643b8 100644
--- a/network_gui.c
+++ b/network_gui.c
@@ -27,7 +27,7 @@
#define BTC 15
typedef struct network_d {
- byte company; // select company in network lobby
+ PlayerID company; // select company in network lobby
byte field; // select text-field in start-server and game-listing
NetworkGameList *server; // selected server in lobby and game-listing
FiosItem *map; // selected map in start-server
@@ -1004,7 +1004,7 @@ static void ShowNetworkLobbyWindow(NetworkGameList *ngl)
// and also makes able to give money to them, kick them (if server)
// and stuff like that.
-extern void DrawPlayerIcon(int p, int x, int y);
+extern void DrawPlayerIcon(PlayerID pid, int x, int y);
// Every action must be of this form
typedef void ClientList_Action_Proc(byte client_no);