mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-27 04:00:42 +00:00
- Duke/RR: Call Bowling lane reset code only when playing RR.
This may alter some tile references which will cause problems with hires replacements in Duke .
This commit is contained in:
parent
c51c6fa524
commit
dfb18ef9a9
2 changed files with 1 additions and 5 deletions
|
@ -329,11 +329,6 @@ bool PickTexture(FGameTexture* tex, int paletteid, TexturePick& pick, bool wanti
|
||||||
{
|
{
|
||||||
if (!tex->isValid() || tex->GetTexelWidth() <= 0 || tex->GetTexelHeight() <= 0) return false;
|
if (!tex->isValid() || tex->GetTexelWidth() <= 0 || tex->GetTexelHeight() <= 0) return false;
|
||||||
|
|
||||||
if (tex->GetUseType() == ETextureType::FontChar && paletteid != 0)
|
|
||||||
{
|
|
||||||
int a = 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
int usepalette = 0, useremap = 0;
|
int usepalette = 0, useremap = 0;
|
||||||
if (!IsLuminosityTranslation(paletteid))
|
if (!IsLuminosityTranslation(paletteid))
|
||||||
{
|
{
|
||||||
|
|
|
@ -254,6 +254,7 @@ void resetpins(short sect)
|
||||||
|
|
||||||
void resetlanepics(void)
|
void resetlanepics(void)
|
||||||
{
|
{
|
||||||
|
if (!isRR()) return;
|
||||||
int x, y;
|
int x, y;
|
||||||
short i;
|
short i;
|
||||||
short tag, pic;
|
short tag, pic;
|
||||||
|
|
Loading…
Reference in a new issue