aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--code/renderer/tr_font.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/code/renderer/tr_font.c b/code/renderer/tr_font.c
index 482c3fd..383108f 100644
--- a/code/renderer/tr_font.c
+++ b/code/renderer/tr_font.c
@@ -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];