From e14b5aca86a70f0606fcc8141503895a2254f43b Mon Sep 17 00:00:00 2001 From: sezero Date: Sun, 12 Jan 2014 18:27:33 +0000 Subject: [PATCH] fix umx export table read order. doesn't affect our umx playback, but correctness is good. git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@887 af15c1b1-3010-417e-b628-4374ebc0bcbd --- Quake/snd_umx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Quake/snd_umx.c b/Quake/snd_umx.c index 1c233136..393baec1 100644 --- a/Quake/snd_umx.c +++ b/Quake/snd_umx.c @@ -240,8 +240,8 @@ static int probe_umx (fshandle_t *f, const struct upkg_hdr *hdr, FS_fread(buf, 1, 64, f); get_fci(&buf[idx], &idx); /* skip class_index */ - if (hdr->file_version >= 60) idx += 4; /* skip int32 package_index */ get_fci(&buf[idx], &idx); /* skip super_index */ + if (hdr->file_version >= 60) idx += 4; /* skip int32 package_index */ get_fci(&buf[idx], &idx); /* skip object_name */ idx += 4; /* skip int32 object_flags */