changeset 150:7549ed1f4cb2

* Remove code that was made unnecessary by WarFoundryHacks class * Make shell script executable
author IBBoard <dev@ibboard.co.uk>
date Mon, 28 Nov 2011 20:05:22 +0000
parents 45c2485f37c0
children 83b19b57cba1 b612d7137f4d
files FrmMainWindow.cs WarFoundry.sh
diffstat 1 files changed, 0 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/FrmMainWindow.cs	Sun Nov 27 14:22:46 2011 +0000
+++ b/FrmMainWindow.cs	Mon Nov 28 20:05:22 2011 +0000
@@ -154,12 +154,7 @@
 			UnitRemovedMethod = new ObjectRemoveDelegate(OnUnitRemoved);
 			PointsValueChangedMethod = new DoubleValChangedDelegate(OnPointsValueChanged);
 			UnitNameChangedMethod = new StringValChangedDelegate(OnUnitNameChanged);
-
-			//FIXME: Temporary hack to add paths and factories before we get preferences and plugins
-			WarFoundryLoader.GetDefault().AddLoadDirectory(new DirectoryInfo(Constants.ExecutablePath + Constants.DirectoryString + "data"));
-			WarFoundryLoader.GetDefault().RegisterFactory(WarFoundryXmlFactory.GetFactory());
 			WarFoundryLoader.GetDefault().FileLoadingFinished += FileLoadingFinished;
-			WarFoundrySaver.SetFileSaver(new WarFoundryXmlFileSaver());
 			SetStatusBarText();
 
 			LoadFilesFromArgs(args);