mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2026-07-24 03:56:43 +00:00
(svn r22935) [1.1] -Backport from trunk:
- Fix: Prevent authentication bypass for the admin port when a new game is started [FS#4771] (r22934) - Fix: TTO savegames with any aircraft not in an hangar caused crashes during load (r22915) - Fix: Windows 2000 and XP without service pack 3 must use the win9x binary/installer; the newer MSVC compiler of the compile farm does not support those versions of Windows anymore [FS#4749] (r22909)
This commit is contained in:
@@ -750,7 +750,7 @@ void NetworkReboot()
|
||||
}
|
||||
|
||||
ServerNetworkAdminSocketHandler *as;
|
||||
FOR_ALL_ADMIN_SOCKETS(as) {
|
||||
FOR_ALL_ACTIVE_ADMIN_SOCKETS(as) {
|
||||
as->SendNewGame();
|
||||
as->SendPackets();
|
||||
}
|
||||
@@ -777,7 +777,7 @@ void NetworkDisconnect(bool blocking, bool close_admins)
|
||||
|
||||
if (close_admins) {
|
||||
ServerNetworkAdminSocketHandler *as;
|
||||
FOR_ALL_ADMIN_SOCKETS(as) {
|
||||
FOR_ALL_ACTIVE_ADMIN_SOCKETS(as) {
|
||||
as->SendShutdown();
|
||||
as->SendPackets();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user