forked from mirrors/0ad
2d98baf8e5
JSI_Sound: Fixed problems with freeing sounds after they've been played. Fixed non-working exception code when failing to load a file (and made it throw an obvious std::exception instead of a hidden LibError). Changed most functions to return false when called on a sound that has been played already, instead of causing an invalid-handle error. Consistentised whitespace. This was SVN commit r4789.