- 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:
Christoph Oelckers 2021-07-25 12:43:03 +02:00
parent c51c6fa524
commit dfb18ef9a9
2 changed files with 1 additions and 5 deletions

View file

@ -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->GetUseType() == ETextureType::FontChar && paletteid != 0)
{
int a = 0;
}
int usepalette = 0, useremap = 0;
if (!IsLuminosityTranslation(paletteid))
{

View file

@ -254,6 +254,7 @@ void resetpins(short sect)
void resetlanepics(void)
{
if (!isRR()) return;
int x, y;
short i;
short tag, pic;