ref: dad445bb3ee8ca8d55e5c77d621f1a925ccbe9fb
parent: 11178d5abc068eeadf32f5cc7379a1ac53fc470c
author: Simon Howard <[email protected]>
date: Fri Aug 31 04:31:48 EDT 2007
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
--- a/src/r_data.c
+++ b/src/r_data.c
@@ -98,8 +98,8 @@
// 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;