diff options
-rw-r--r-- | sword2/driver/d_sound.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sword2/driver/d_sound.cpp b/sword2/driver/d_sound.cpp index 20b9374592..c97a8b9690 100644 --- a/sword2/driver/d_sound.cpp +++ b/sword2/driver/d_sound.cpp @@ -693,7 +693,7 @@ int32 Sword2Sound::OpenFx(int32 id, uint8 *data) { while (i < 100) { if (*data == 'd') { data32 = (uint32*)data; - if (READ_BE_UINT32(data32) == MKID('data')) + if (READ_UINT32(data32) == MKID('data')) break; } i += 1; |