aboutsummaryrefslogtreecommitdiff
path: root/sword2/function.cpp
diff options
context:
space:
mode:
authorJonathan Gray2003-07-29 12:34:46 +0000
committerJonathan Gray2003-07-29 12:34:46 +0000
commitf1a6025aa2a8b6c99798e0738eaca4c844933c20 (patch)
tree3e97dd16c86c96e4cbd60ee77437d46e442a567c /sword2/function.cpp
parent11aa36ff90be9c0cee214a7fb2a15f9e97bef918 (diff)
downloadscummvm-rg350-f1a6025aa2a8b6c99798e0738eaca4c844933c20.tar.gz
scummvm-rg350-f1a6025aa2a8b6c99798e0738eaca4c844933c20.tar.bz2
scummvm-rg350-f1a6025aa2a8b6c99798e0738eaca4c844933c20.zip
turn d_sound.cpp into class BS2Sound
svn-id: r9280
Diffstat (limited to 'sword2/function.cpp')
-rw-r--r--sword2/function.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/sword2/function.cpp b/sword2/function.cpp
index 48b06f0812..80b4abb98a 100644
--- a/sword2/function.cpp
+++ b/sword2/function.cpp
@@ -412,7 +412,6 @@ int32 FN_reset_globals(int32 *params) //Tony29May97
// This function just quits the game if this is the playable demo, ie. credits are NOT played in the demo any more!
extern uint8 quitGame; // From sword2.cpp
-extern void UpdateCompSampleStreaming(void); // From d_sound.c
int32 FN_play_credits(int32 *params)
{
@@ -431,7 +430,7 @@ int32 FN_play_credits(int32 *params)
StopMusic(); // Stop any streaming music
for (int i = 0; i<16; i++)
- UpdateCompSampleStreaming(); // And wait for it to die
+ g_bs2->_sound->UpdateCompSampleStreaming(); // And wait for it to die
GetDrawStatus (&ds);
GetSoundStatus(&ss);