File diff r2115:556698050edb → r2116:ddc2d73f5c38
main_gui.c
Show inline comments
 
@@ -370,32 +370,32 @@ void ShowNetworkNeedGamePassword(void)
 
	ShowQueryString(STR_EMPTY, STR_NETWORK_NEED_GAME_PASSWORD_CAPTION, 20, 180, WC_SELECT_GAME, 0);
 
}
 

	
 
void ShowNetworkNeedCompanyPassword(void)
 
{
 
	_rename_id = NETWORK_COMPANY_PASSWORD;
 
	_rename_what = 4;
 
	ShowQueryString(STR_EMPTY, STR_NETWORK_NEED_COMPANY_PASSWORD_CAPTION, 20, 180, WC_SELECT_GAME, 0);
 
}
 

	
 
#endif /* ENABLE_NETWORK */
 

	
 
void ShowRenameSignWindow(SignStruct *ss)
 
void ShowRenameSignWindow(const SignStruct *ss)
 
{
 
	_rename_id = ss->index;
 
	_rename_what = 0;
 
	ShowQueryString(ss->str, STR_280B_EDIT_SIGN_TEXT, 30, 180, 1, 0);
 
}
 

	
 
void ShowRenameWaypointWindow(Waypoint *wp)
 
void ShowRenameWaypointWindow(const Waypoint *wp)
 
{
 
	int id = wp->index;
 

	
 
	/* Are we allowed to change the name of the waypoint? */
 
	if (!CheckTileOwnership(wp->xy)) {
 
		ShowErrorMessage(_error_message, STR_CANT_CHANGE_WAYPOINT_NAME,
 
			TileX(wp->xy) * 16, TileY(wp->xy) * 16);
 
		return;
 
	}
 

	
 
	_rename_id = id;
 
	_rename_what = 1;