summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Howard2007-08-31 08:31:48 +0000
committerSimon Howard2007-08-31 08:31:48 +0000
commitdad445bb3ee8ca8d55e5c77d621f1a925ccbe9fb (patch)
treeb23bf4c250a78247877a239d568adbe29bec43ac
parent11178d5abc068eeadf32f5cc7379a1ac53fc470c (diff)
downloadchocolate-doom-dad445bb3ee8ca8d55e5c77d621f1a925ccbe9fb.tar.gz
chocolate-doom-dad445bb3ee8ca8d55e5c77d621f1a925ccbe9fb.tar.bz2
chocolate-doom-dad445bb3ee8ca8d55e5c77d621f1a925ccbe9fb.zip
Use short for texpatch_t .originx, .originy: fixes problem caused by
sign conversion in the endianness code. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 961
-rw-r--r--src/r_data.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/r_data.c b/src/r_data.c
index 37827d14..0f792d8e 100644
--- a/src/r_data.c
+++ b/src/r_data.c
@@ -98,8 +98,8 @@ typedef struct
// Block origin (allways UL),
// which has allready accounted
// for the internal origin of the patch.
- int originx;
- int originy;
+ short originx;
+ short originy;
int patch;
} texpatch_t;