From 468275bb94f975b9e1c2e7e90a03caa37bd0e142 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Wed, 17 Sep 2003 21:06:16 +0000 Subject: 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 --- sword2/function.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sword2/function.cpp') 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 -- cgit v1.2.3