diff options
author | Simon Howard | 2007-08-31 08:31:48 +0000 |
---|---|---|
committer | Simon Howard | 2007-08-31 08:31:48 +0000 |
commit | dad445bb3ee8ca8d55e5c77d621f1a925ccbe9fb (patch) | |
tree | b23bf4c250a78247877a239d568adbe29bec43ac /src/r_data.c | |
parent | 11178d5abc068eeadf32f5cc7379a1ac53fc470c (diff) | |
download | chocolate-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
Diffstat (limited to 'src/r_data.c')
-rw-r--r-- | src/r_data.c | 4 |
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; |