* Fix TA font loader to use new endian defines

This commit is contained in:
Tim Angus 2005-11-06 21:18:21 +00:00
parent b2f39d7ddd
commit fd9c1b00bb

View file

@ -311,12 +311,12 @@ typedef union {
float readFloat( void ) {
poor me;
#if defined BigFloat
#if defined Q3_BIG_ENDIAN
me.fred[0] = fdFile[fdOffset+3];
me.fred[1] = fdFile[fdOffset+2];
me.fred[2] = fdFile[fdOffset+1];
me.fred[3] = fdFile[fdOffset+0];
#elif defined LittleFloat
#elif defined Q3_LITTLE_ENDIAN
me.fred[0] = fdFile[fdOffset+0];
me.fred[1] = fdFile[fdOffset+1];
me.fred[2] = fdFile[fdOffset+2];