aboutsummaryrefslogtreecommitdiffstats
path: root/code/client
diff options
context:
space:
mode:
authortma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea>2005-12-05 17:32:54 +0000
committertma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea>2005-12-05 17:32:54 +0000
commit1fa5872b59f24cb05e82c4124ddb455834dd9f37 (patch)
treeeb835a752c2915f487b9d1d33e5e4e322b4dd45a /code/client
parent5da02a4301441953f1b20d10e7cbbc3e8498d959 (diff)
downloadioquake3-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.c2
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 );