diff options
author | Fabian Greffrath | 2014-12-18 10:59:47 +0100 |
---|---|---|
committer | Fabian Greffrath | 2014-12-18 10:59:47 +0100 |
commit | e7abef98528ee0746b72f8089e0ad9e7a01e7755 (patch) | |
tree | b98a873f4a4466d4410ecd15603f4b8f7badba82 /src/hexen/mn_menu.c | |
parent | ea5f633fe42c7693e30106a306b376ec169a4809 (diff) | |
download | chocolate-doom-e7abef98528ee0746b72f8089e0ad9e7a01e7755.tar.gz chocolate-doom-e7abef98528ee0746b72f8089e0ad9e7a01e7755.tar.bz2 chocolate-doom-e7abef98528ee0746b72f8089e0ad9e7a01e7755.zip |
fix some more endianess issues with the width fields in patch_t structs
as pointed out necessary by Ronald Lasmanowicz for his Wii ports
Diffstat (limited to 'src/hexen/mn_menu.c')
-rw-r--r-- | src/hexen/mn_menu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hexen/mn_menu.c b/src/hexen/mn_menu.c index 6674a529..ff573317 100644 --- a/src/hexen/mn_menu.c +++ b/src/hexen/mn_menu.c @@ -378,7 +378,7 @@ void MN_DrTextAYellow(char *text, int x, int y) { p = W_CacheLumpNum(FontAYellowBaseLump + c - 33, PU_CACHE); V_DrawPatch(x, y, p); - x += p->width - 1; + x += SHORT(p->width) - 1; } } } |