Backport horiz correction code for polymost

# Conflicts:
#	source/build/include/polymost.h
#	source/build/src/polymost.cpp
This commit is contained in:
nukeykt 2019-10-27 23:22:40 +09:00 committed by Christoph Oelckers
parent ff6820aa92
commit e948d78fd0
2 changed files with 3 additions and 1 deletions

View file

@ -117,7 +117,6 @@ uint8_t RemapPLU(uint8_t pal)
{ {
if (pal != kPalRedBrite) if (pal != kPalRedBrite)
pal = kPalGreenBrite; pal = kPalGreenBrite;
return pal;
} }
else if (bTorch) else if (bTorch)
{ {

View file

@ -63,6 +63,9 @@ short nEnemyPal = 0;
void InitView() void InitView()
{ {
screensize = (short)xdim; screensize = (short)xdim;
#ifdef USE_OPENGL
polymostcenterhoriz = 92;
#endif
} }
// NOTE - not to be confused with Ken's analyzesprites() // NOTE - not to be confused with Ken's analyzesprites()