aboutsummaryrefslogtreecommitdiff
path: root/sword2/speech.cpp
diff options
context:
space:
mode:
authorJoost Peters2003-08-27 00:36:01 +0000
committerJoost Peters2003-08-27 00:36:01 +0000
commit3443c5c3d0c9fda270ab9e2ec3c5eeed98522a60 (patch)
tree1007e8cdcef5dc07f32e4871c0e8fc0f9af54a0f /sword2/speech.cpp
parentb91c182571c3f699e1b387ba94eaa1a16e55c60a (diff)
downloadscummvm-rg350-3443c5c3d0c9fda270ab9e2ec3c5eeed98522a60.tar.gz
scummvm-rg350-3443c5c3d0c9fda270ab9e2ec3c5eeed98522a60.tar.bz2
scummvm-rg350-3443c5c3d0c9fda270ab9e2ec3c5eeed98522a60.zip
Basic speech code, the change in speech.cpp is needed for me, but I am afraid it might break "speech.clu opening" for someone else..I'm confused as to how this all works. heh.
Anyway, if you hear no voices: this is probably where to look. svn-id: r9871
Diffstat (limited to 'sword2/speech.cpp')
-rw-r--r--sword2/speech.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/sword2/speech.cpp b/sword2/speech.cpp
index d2f9258e2d..07d663b0a2 100644
--- a/sword2/speech.cpp
+++ b/sword2/speech.cpp
@@ -1577,7 +1577,8 @@ int32 FN_i_speak(int32 *params) //Tony18Oct96 (revamped by James01july97)
} else
#endif // _SWORD2_DEBUG
{
- strcpy(speechFile,"speech.clu");
+ strcpy(speechFile, g_sword2->getGameDataPath());
+ strcat(speechFile,"speech.clu");
}
}
//------------------------------