Text prompt: Fix V_DrawFixedPatch call for non-green resos

This commit is contained in:
mazmazz 2018-11-03 09:13:17 -04:00
parent 63e5cfecff
commit edcdf79b60
1 changed files with 1 additions and 1 deletions

View File

@ -2494,7 +2494,7 @@ static void ST_drawTutorial(INT32 promptnum, INT32 pagenum)
{
INT32 iconx = textprompts[promptnum]->page[pagenum].rightside ? BASEVIDWIDTH - (((boxh * 4) + (boxh/2)*4)) : 4;
patch = W_CachePatchName(textprompts[promptnum]->page[pagenum].iconname, PU_CACHE);
V_DrawFixedPatch(iconx<<FRACBITS, namey<<FRACBITS, FixedDiv(((boxh * 4) + (boxh/2)*4) - 4, patch->width), 0, patch, NULL);
V_DrawFixedPatch(iconx<<FRACBITS, namey<<FRACBITS, FixedDiv(((boxh * 4) + (boxh/2)*4) - 4, patch->width), V_SNAPTOBOTTOM, patch, NULL);
W_UnlockCachedPatch(patch);
}