summaryrefslogtreecommitdiffstats
path: root/logic/minecraft/LegacyInstance.cpp
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2015-06-16 09:19:55 +0200
committerPetr Mrázek <peterix@gmail.com>2015-06-30 07:16:20 +0200
commit5628d3d379785c9c6f4a595c70392d9b1e9ea4df (patch)
tree586eb775fd1f3014ff4dd36984176530af5e70b3 /logic/minecraft/LegacyInstance.cpp
parentf86a39c21c9898c0b5966abb2b4907eb0b5bac1d (diff)
downloadMultiMC-5628d3d379785c9c6f4a595c70392d9b1e9ea4df.tar
MultiMC-5628d3d379785c9c6f4a595c70392d9b1e9ea4df.tar.gz
MultiMC-5628d3d379785c9c6f4a595c70392d9b1e9ea4df.tar.lz
MultiMC-5628d3d379785c9c6f4a595c70392d9b1e9ea4df.tar.xz
MultiMC-5628d3d379785c9c6f4a595c70392d9b1e9ea4df.zip
SCRATCH squash MinecraftLauncher into BaseLauncher
needs to be split differently needs to be squashed together with the logic from MainWindow
Diffstat (limited to 'logic/minecraft/LegacyInstance.cpp')
-rw-r--r--logic/minecraft/LegacyInstance.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/logic/minecraft/LegacyInstance.cpp b/logic/minecraft/LegacyInstance.cpp
index a2b813e2..0eb379dc 100644
--- a/logic/minecraft/LegacyInstance.cpp
+++ b/logic/minecraft/LegacyInstance.cpp
@@ -24,7 +24,7 @@
#include "minecraft/LegacyUpdate.h"
#include "icons/IconList.h"
-#include "minecraft/MinecraftLauncher.h"
+#include "BaseLauncher.h"
#include "minecraft/ModList.h"
LegacyInstance::LegacyInstance(SettingsObjectPtr globalSettings, SettingsObjectPtr settings, const QString &rootDir)
@@ -122,7 +122,7 @@ BaseLauncher *LegacyInstance::prepareForLaunch(AuthSessionPtr account)
launchScript += "lwjgl " + lwjgl + "\n";
launchScript += "launcher legacy\n";
}
- auto process = MinecraftLauncher::create(std::dynamic_pointer_cast<MinecraftInstance>(getSharedPtr()));
+ auto process = BaseLauncher::create(std::dynamic_pointer_cast<MinecraftInstance>(getSharedPtr()));
process->setLaunchScript(launchScript);
process->setWorkdir(minecraftRoot());
process->setLogin(account);