diff options
author | Max Horn | 2003-09-17 21:06:16 +0000 |
---|---|---|
committer | Max Horn | 2003-09-17 21:06:16 +0000 |
commit | 468275bb94f975b9e1c2e7e90a03caa37bd0e142 (patch) | |
tree | 1c3a7f30ca33043dba1a7de1119d6c50da7181fa /sword2/mouse.cpp | |
parent | c0d1061a2dcfd8c50c70ca99b99a41e81207fa86 (diff) | |
download | scummvm-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/mouse.cpp')
-rw-r--r-- | sword2/mouse.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sword2/mouse.cpp b/sword2/mouse.cpp index 938017a6ca..18c589211b 100644 --- a/sword2/mouse.cpp +++ b/sword2/mouse.cpp @@ -235,7 +235,7 @@ void System_menu(void) //Tony19Mar97 } //------------------------ - rv = g_sword2->_sound->PauseFx(); + rv = g_sound->PauseFx(); if (rv != RD_OK) Zdebug("ERROR: PauseFx() returned %.8x in SystemMenu()", rv); //------------------------ @@ -307,7 +307,7 @@ void System_menu(void) //Tony19Mar97 this_screen.new_palette=1; //------------------------ - rv = g_sword2->_sound->UnpauseFx(); + rv = g_sound->UnpauseFx(); if (rv != RD_OK) Zdebug("ERROR: UnpauseFx() returned %.8x in SystemMenu()", rv); //------------------------ |