* Replaced ALIGN macro with PAD
* Moved ALIGN16 macro from tr_local.h to ALIGN in q_shared.h
This commit is contained in:
parent
cfdd586ef8
commit
1704eecc52
6 changed files with 25 additions and 24 deletions
|
@ -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 );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue