summaryrefslogtreecommitdiff
path: root/variables.h
diff options
context:
space:
mode:
authorDarkvater <darkvater@openttd.org>2005-05-11 12:46:19 +0000
committerDarkvater <darkvater@openttd.org>2005-05-11 12:46:19 +0000
commit6cdb9580e2cca96f4ad96504ed22a9e93cb06dd6 (patch)
treeeae5566ea27edecc49e426270a4ef77af6965b32 /variables.h
parent5e6923e9369a5a531d9b64da45fcfcc91f7687de (diff)
downloadopenttd-6cdb9580e2cca96f4ad96504ed22a9e93cb06dd6.tar.xz
(svn r2291) - Fix (regression): When a client joined it changed the server-player's name. Funny effect; but not desired. Thanks for pointing it out Tron. It needed a bit of hacking, but is not less of a hack than the one used before :)
Diffstat (limited to 'variables.h')
-rw-r--r--variables.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/variables.h b/variables.h
index c55ce6a7b..80624aaeb 100644
--- a/variables.h
+++ b/variables.h
@@ -279,7 +279,7 @@ VARDEF bool _is_ai_player; // current player is an AI player? - Can be removed i
VARDEF bool _do_autosave;
VARDEF int _autosave_ctr;
-VARDEF byte _local_player;
+VARDEF PlayerID _local_player;
VARDEF byte _display_opt;
VARDEF byte _pause;
VARDEF int _caret_timer;
@@ -292,7 +292,7 @@ VARDEF StringID _error_message_2;
VARDEF int32 _additional_cash_required;
VARDEF uint32 _decode_parameters[20];
-VARDEF byte _current_player;
+VARDEF PlayerID _current_player;
VARDEF int _docommand_recursive;