diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/mainwindow.cpp | 28 | ||||
| -rw-r--r-- | src/organizer.pro | 2 |
2 files changed, 2 insertions, 28 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index aa45a0bd..f30e46f1 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -830,35 +830,9 @@ void MainWindow::setBrowserGeometry(const QByteArray &geometry) }
-SaveGameGamebryo *MainWindow::getSaveGame(const QString &name__)
+SaveGameGamebryo *MainWindow::getSaveGame(const QString &name)
{
IPluginGame const *game = m_OrganizerCore.managedGame();
- QString name(name__);
-
- static int count = 0;
- //fudge with me
- switch (count)
- {
- case 0:
- game = m_PluginContainer.managedGame("Fallout 3");
- name = "C:\\Users\\Dad\\Downloads\\Games\\Both good and evil saves -10416\\Save 106 - New Start Good, Vault 101 Entrance, 00.33.34.fos";
- break;
-
- case 1:
- game = m_PluginContainer.managedGame("New Vegas");
- name = "C:\\Users\\Dad\\Downloads\\Games\\Crossroads - Clean Save-44883-1-0\\Crossroads.fos";
- break;
-
- case 2:
- game = m_PluginContainer.managedGame("Oblivion");
- name = "C:\\Users\\Dad\\Saved Games\\Oblivion\\Saves\\Save 1537 - Hilary - Xirethard, Level 45, Playing Time 458.48.17.ess";
- break;
-
- case 3:
- count = -1;
- }
- ++count;
-
return new SaveGameGamebryo(this, name, game);
}
diff --git a/src/organizer.pro b/src/organizer.pro index 0cdb4400..1284aa40 100644 --- a/src/organizer.pro +++ b/src/organizer.pro @@ -243,7 +243,7 @@ LIBS += -L"E:/Visual Leak Detector/lib/Win32" #DEFINES += LEAK_CHECK_WITH_VLD
#########################FUDGE###############################
-INCLUDEPATH += ../plugins/gameGamebro
+INCLUDEPATH += ../plugins/gameGamebryo
#############################################################
# custom leak detection
|
