Fix a typo in the RAW format bugfix :-)

svn-id: r50559
This commit is contained in:
Robert Špalek 2010-07-01 17:16:06 +00:00
parent 2d6f912bd1
commit 6859a30555

View File

@ -180,7 +180,7 @@ SoundSample *LegacySoundArchive::getSample(int i, uint freq) {
void ZipSoundArchive::openArchive(const char *path, const char *extension, SoundFormat format, int raw_frequency) {
closeArchive();
if ((_format == RAW || _format == RAW80) && !raw_frequency) {
if ((format == RAW || format == RAW80) && !raw_frequency) {
error("openArchive() expects frequency for RAW data");
return;
}