diff options
author | tma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2005-12-05 17:32:54 +0000 |
---|---|---|
committer | tma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2005-12-05 17:32:54 +0000 |
commit | 1fa5872b59f24cb05e82c4124ddb455834dd9f37 (patch) | |
tree | eb835a752c2915f487b9d1d33e5e4e322b4dd45a /code/client | |
parent | 5da02a4301441953f1b20d10e7cbbc3e8498d959 (diff) | |
download | ioquake3-aero-1fa5872b59f24cb05e82c4124ddb455834dd9f37.tar.gz ioquake3-aero-1fa5872b59f24cb05e82c4124ddb455834dd9f37.zip |
* Replaced ALIGN macro with PAD
* Moved ALIGN16 macro from tr_local.h to ALIGN in q_shared.h
git-svn-id: svn://svn.icculus.org/quake3/trunk@417 edf5b092-35ff-0310-97b2-ce42778d08ea
Diffstat (limited to 'code/client')
-rw-r--r-- | code/client/snd_codec_wav.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/code/client/snd_codec_wav.c b/code/client/snd_codec_wav.c index fde6a17..a60f3da 100644 --- a/code/client/snd_codec_wav.c +++ b/code/client/snd_codec_wav.c @@ -91,7 +91,7 @@ static int S_FindRIFFChunk( fileHandle_t f, char *chunk ) { if( !Q_strncmp( name, chunk, 4 ) ) return len; - len = (len + 1 ) & ~1; // pad to word boundary + len = PAD( len, 2 ); // Not the right chunk - skip it FS_Seek( f, len, FS_SEEK_CUR ); |