Changeset - r13525:1489bc596e65
[Not reviewed]
master
0 1 0
rubidium - 15 years ago 2009-11-12 21:08:41
rubidium@openttd.org
(svn r18056) -Fix (r17737): compiling without networking failed
1 file changed with 2 insertions and 0 deletions:
0 comments (0 inline, 0 general)
src/company_cmd.cpp
Show inline comments
 
@@ -89,8 +89,10 @@ void SetLocalCompany(CompanyID new_compa
 
	/* company could also be COMPANY_SPECTATOR or OWNER_NONE */
 
	assert(Company::IsValidID(new_company) || new_company == COMPANY_SPECTATOR || new_company == OWNER_NONE);
 

	
 
#ifdef ENABLE_NETWORK
 
	/* Delete the chat window, if you were team chatting. */
 
	InvalidateWindowData(WC_SEND_NETWORK_MSG, DESTTYPE_TEAM, _local_company);
 
#endif
 

	
 
	_local_company = new_company;
 

	
0 comments (0 inline, 0 general)