From bfcffbea601f03d44344ff4cccb2466ca2f648f2 Mon Sep 17 00:00:00 2001 From: Einar Johan Trøan Sømåen Date: Fri, 1 Jun 2012 00:47:30 +0200 Subject: WINTERMUTE: Fix Linux-build --- engines/wintermute/AdInventory.cpp | 2 +- engines/wintermute/PlatformSDL.cpp | 3 ++- engines/wintermute/wintermute.cpp | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/engines/wintermute/AdInventory.cpp b/engines/wintermute/AdInventory.cpp index 7fcd955560..2c7c086a73 100644 --- a/engines/wintermute/AdInventory.cpp +++ b/engines/wintermute/AdInventory.cpp @@ -27,7 +27,7 @@ */ #include "AdInventory.h" -#include "ADGame.h" +#include "AdGame.h" #include "AdItem.h" #include "PlatformSDL.h" #include "common/str.h" diff --git a/engines/wintermute/PlatformSDL.cpp b/engines/wintermute/PlatformSDL.cpp index 2446cb210f..5ab8ba8932 100644 --- a/engines/wintermute/PlatformSDL.cpp +++ b/engines/wintermute/PlatformSDL.cpp @@ -70,7 +70,8 @@ int CBPlatform::Initialize(CBGame *inGame, int argc, char *argv[]) { char *IniName = CBUtils::GetFilename(param); // switch to ini's dir - chdir(IniDir); + warning("TODO: Place ini-files somewhere"); +// chdir(IniDir); // set ini name sprintf(param, "./%s", IniName); diff --git a/engines/wintermute/wintermute.cpp b/engines/wintermute/wintermute.cpp index e756f568c6..b7da386054 100644 --- a/engines/wintermute/wintermute.cpp +++ b/engines/wintermute/wintermute.cpp @@ -31,7 +31,7 @@ #include "common/fs.h" #include "engines/util.h" -#include "engines/wintermute/ADGame.h" +#include "engines/wintermute/AdGame.h" #include "engines/wintermute/wintermute.h" #include "engines/wintermute/PlatformSDL.h" -- cgit v1.2.3