summaryrefslogtreecommitdiff
path: root/sys/src/games/doom/r_data.c
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2014-09-04 23:02:37 +0200
committercinap_lenrek <cinap_lenrek@felloff.net>2014-09-04 23:02:37 +0200
commit460f482ad05aeb12a7ed3bb92adeb03d8c6e4c0a (patch)
treec311e2d534a252e4ed88fcab8505063e3d43289f /sys/src/games/doom/r_data.c
parent3a322e9f329909c3c751de6cb5da33e7280c2738 (diff)
doom: fix alignment issues for arm
Diffstat (limited to 'sys/src/games/doom/r_data.c')
-rw-r--r--sys/src/games/doom/r_data.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/src/games/doom/r_data.c b/sys/src/games/doom/r_data.c
index ecbba8da8..db6c870b2 100644
--- a/sys/src/games/doom/r_data.c
+++ b/sys/src/games/doom/r_data.c
@@ -91,6 +91,7 @@ typedef struct
mappatch_t patches[1];
} maptexture_t;
+#pragma pack off
/* A single patch from a texture definition,
** basically a rectangular area within
@@ -126,10 +127,6 @@ typedef struct
texpatch_t patches[1];
} texture_t;
-
-#pragma pack off
-
-
int firstflat;
int lastflat;
int numflats;