fix endianess issues with drawing fullscreen patches

Fixes #136
This commit is contained in:
Fabian Greffrath 2021-02-23 08:47:13 +01:00
parent 9ccd3d5dba
commit 7e545e14bd

View File

@ -636,7 +636,7 @@ void V_DrawPatchTranslated(int x, int y, int scrn, patch_t *patch,
void V_DrawPatchFullScreen(int scrn, patch_t *patch)
{
int x = (SCREENWIDTH - patch->width) / 2 - WIDESCREENDELTA;
int x = (SCREENWIDTH - SHORT(patch->width)) / 2 - WIDESCREENDELTA;
patch->leftoffset = 0;
patch->topoffset = 0;