Critical behaviour near the magnetic percolation threshold