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
This commit is contained in:
parent
c0d1061a2d
commit
468275bb94
18 changed files with 135 additions and 112 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue