(svn r15247) -Change: show a lock near the password/join button in the company window whenever the company is password protected
This commit is contained in:
@@ -28,6 +28,7 @@
|
||||
#include "../company_func.h"
|
||||
#include "../company_gui.h"
|
||||
#include "../settings_type.h"
|
||||
#include "../window_func.h"
|
||||
|
||||
#include "table/strings.h"
|
||||
|
||||
@@ -1720,6 +1721,7 @@ void NetworkServerUpdateCompanyPassworded(CompanyID company_id, bool passworded)
|
||||
if (NetworkCompanyIsPassworded(company_id) == passworded) return;
|
||||
|
||||
SB(_network_company_passworded, company_id, 1, !!passworded);
|
||||
InvalidateWindowClasses(WC_COMPANY);
|
||||
|
||||
NetworkClientSocket *cs;
|
||||
FOR_ALL_CLIENT_SOCKETS(cs) {
|
||||
|
Reference in New Issue
Block a user