(svn r6766) -Codechange: Move _openttd_revision[] into the functions that use it instead of global

This commit is contained in:
Darkvater
2006-10-13 15:52:22 +00:00
parent 35b059210d
commit 1436bbbc84
5 changed files with 5 additions and 10 deletions

View File

@@ -24,8 +24,6 @@
// This file handles all the client-commands
extern const char _openttd_revision[];
// So we don't make too much typos ;)
#define MY_CLIENT DEREF_CLIENT(0)
@@ -65,6 +63,7 @@ DEF_CLIENT_SEND_COMMAND(PACKET_CLIENT_JOIN)
// String: Unique id to find the player back in server-listing
//
extern const char _openttd_revision[];
Packet *p;
_network_join_status = NETWORK_JOIN_STATUS_AUTHORIZING;
InvalidateWindow(WC_NETWORK_STATUS_WINDOW, 0);