forked from teamnwah/openmw-tes3coop
Minor fix to input_filter.hpp
This commit is contained in:
parent
073cc246b6
commit
e181b71cc9
1 changed files with 5 additions and 6 deletions
|
@ -10,13 +10,12 @@ namespace Sound {
|
|||
|
||||
/**
|
||||
@brief This filter class adds file loading capabilities to a
|
||||
Sound::SoundFactory class, by associating an SampleSourceLoader
|
||||
with it.
|
||||
Sound::SoundFactory class, by associating a SampleSourceLoader with
|
||||
it.
|
||||
|
||||
The class takes an existing SoundFactory able to load streams, and
|
||||
associates an SampleSourceLoader with it. The combined class is
|
||||
able to load files directly.
|
||||
*/
|
||||
associates a SampleSourceLoader with it. The combined class is able
|
||||
to load files directly. */
|
||||
class InputFilter : public SoundFactory
|
||||
{
|
||||
protected:
|
||||
|
@ -45,7 +44,7 @@ class InputFilter : public SoundFactory
|
|||
// Both these should be true, or the use of this class is pretty
|
||||
// pointless
|
||||
canLoadSource = snd->canLoadSource;
|
||||
canLoadFile = canLoadSource;
|
||||
canLoadFile = inp->canLoadFile;
|
||||
assert(canLoadSource && canLoadFile);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue