public void removeHero()
	{
		if (lockCount != 0) return;
		
		heroesInner.takeAt(heroesSelected).widget().dispose();
		heroes.remove(heroesSelected);
		heroesSelected = 0;
		try {
			((WidgetChooserButton)(heroesInner.itemAt(heroesSelected).widget())).setChecked(true);
			selectHero(heroes.get(heroesSelected));
		} catch (java.lang.NullPointerException e) {}

		
		QApplication.processEvents();
		minimap.repaint();
	}