- Fixed: S_LoadSound() did not byte-swap the frequency and length it reads

from DMX sounds.



SVN r1792 (trunk)
This commit is contained in:
Randy Heit 2009-09-04 22:59:41 +00:00
commit 6214177f1f
6 changed files with 48 additions and 30 deletions

View file

@ -81,7 +81,7 @@ static bool CheckIfPatch(FileReader & file)
file.Seek(0, SEEK_SET);
file.Read(data, file.GetLength());
const patch_t * foo = (const patch_t *)data;
const patch_t *foo = (const patch_t *)data;
int height = LittleShort(foo->height);
int width = LittleShort(foo->width);