mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-28 12:30:46 +00:00
- make sure that substitution remaps work in Duke's menus.
This commit is contained in:
parent
25e57763af
commit
9ab24f6031
1 changed files with 3 additions and 1 deletions
|
@ -184,7 +184,9 @@ class ListMenuItemDukeTextItem : ListMenuItemTextItem
|
||||||
pe = Color(255, 160, 160, 160);
|
pe = Color(255, 160, 160, 160);
|
||||||
}
|
}
|
||||||
|
|
||||||
Screen.DrawText(font, Font.CR_NATIVEPAL, xpos, mYpos, mText, DTA_FullscreenScale, FSMode_Fit320x200, DTA_ScaleX, scale, DTA_ScaleY, scale, DTA_Color, pe, DTA_TranslationIndex, trans);
|
// Palette 0 may not use NATIVEPAL so that substitution remaps work.
|
||||||
|
Screen.DrawText(font, trans? Font.CR_NATIVEPAL : Font.CR_UNTRANSLATED, xpos, mYpos, mText, DTA_FullscreenScale, FSMode_Fit320x200,
|
||||||
|
DTA_ScaleX, scale, DTA_ScaleY, scale, DTA_Color, pe, DTA_TranslationIndex, trans);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue