aboutsummaryrefslogtreecommitdiff
path: root/sword2/function.cpp
diff options
context:
space:
mode:
authorMax Horn2003-09-17 21:06:16 +0000
committerMax Horn2003-09-17 21:06:16 +0000
commit468275bb94f975b9e1c2e7e90a03caa37bd0e142 (patch)
tree1c3a7f30ca33043dba1a7de1119d6c50da7181fa /sword2/function.cpp
parentc0d1061a2dcfd8c50c70ca99b99a41e81207fa86 (diff)
downloadscummvm-rg350-468275bb94f975b9e1c2e7e90a03caa37bd0e142.tar.gz
scummvm-rg350-468275bb94f975b9e1c2e7e90a03caa37bd0e142.tar.bz2
scummvm-rg350-468275bb94f975b9e1c2e7e90a03caa37bd0e142.zip
added a static method setDefaultDirectory to class File; used this to simplify some code; added a global g_sound pointer in bs2, this cuts down on uses of g_sword2 (of course both should be removed on the long run); some other minor tweaks/fixes
svn-id: r10278
Diffstat (limited to 'sword2/function.cpp')
-rw-r--r--sword2/function.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/sword2/function.cpp b/sword2/function.cpp
index d6ec2a193e..306e7a825e 100644
--- a/sword2/function.cpp
+++ b/sword2/function.cpp
@@ -407,7 +407,7 @@ int32 FN_play_credits(int32 *params) {
// And wait for it to die
for (int i = 0; i<16; i++) {
- g_sword2->_sound->UpdateCompSampleStreaming();
+ g_sound->UpdateCompSampleStreaming();
}
#endif