aboutsummaryrefslogtreecommitdiff
path: root/sword2/speech.cpp
diff options
context:
space:
mode:
authorJonathan Gray2003-08-24 12:13:03 +0000
committerJonathan Gray2003-08-24 12:13:03 +0000
commita8ddcec684125cd2727f1ebed0f54e0325c37fa9 (patch)
tree99ca2d5fae64a5dec621b0177550a1eaefd087d9 /sword2/speech.cpp
parent070a746de4faf753e4ed1a79ce74788747f58685 (diff)
downloadscummvm-rg350-a8ddcec684125cd2727f1ebed0f54e0325c37fa9.tar.gz
scummvm-rg350-a8ddcec684125cd2727f1ebed0f54e0325c37fa9.tar.bz2
scummvm-rg350-a8ddcec684125cd2727f1ebed0f54e0325c37fa9.zip
be more tolerant of files being in different spots, and living on case sensitive filesystems
svn-id: r9846
Diffstat (limited to 'sword2/speech.cpp')
-rw-r--r--sword2/speech.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/sword2/speech.cpp b/sword2/speech.cpp
index cbf13e4b12..d2f9258e2d 100644
--- a/sword2/speech.cpp
+++ b/sword2/speech.cpp
@@ -1566,7 +1566,7 @@ int32 FN_i_speak(int32 *params) //Tony18Oct96 (revamped by James01july97)
// first checking if we have speech1.clu or speech2.clu in current directory (for translators to test)
if (g_sword2->_gameId == GID_SWORD2_DEMO)
- strcpy(speechFile,"SPEECH.CLU");
+ strcpy(speechFile,"speech.clu");
else {
#ifdef _SWORD2_DEBUG
@@ -1577,8 +1577,7 @@ int32 FN_i_speak(int32 *params) //Tony18Oct96 (revamped by James01july97)
} else
#endif // _SWORD2_DEBUG
{
- strcpy(speechFile,res_man.GetCdPath());
- strcat(speechFile,"CLUSTERS/SPEECH.CLU");
+ strcpy(speechFile,"speech.clu");
}
}
//------------------------------