Skip to content

Commit

Permalink
- Duke/RR: Call Bowling lane reset code only when playing RR.
Browse files Browse the repository at this point in the history
This may alter some tile references which will cause problems with hires replacements in Duke .
  • Loading branch information
coelckers committed Jul 25, 2021
1 parent c51c6fa commit dfb18ef
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
5 changes: 0 additions & 5 deletions source/core/textures/hightile.cpp
Expand Up @@ -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))
{
Expand Down
1 change: 1 addition & 0 deletions source/games/duke/src/bowling.cpp
Expand Up @@ -254,6 +254,7 @@ void resetpins(short sect)

void resetlanepics(void)
{
if (!isRR()) return;
int x, y;
short i;
short tag, pic;
Expand Down

0 comments on commit dfb18ef

Please sign in to comment.