Blood: fix uninitialized palette usage

# Conflicts:
#	source/blood/src/view.cpp
This commit is contained in:
nukeykt 2020-01-02 21:10:14 +09:00 committed by Christoph Oelckers
parent fe4c20143a
commit 9208c1249d
1 changed files with 1 additions and 1 deletions

View File

@ -3477,7 +3477,7 @@ void viewDrawScreen(void)
{
if (cl_crosshair)
{
rotatesprite(160 << 16, defaultHoriz << 16, 65536, 0, kCrosshairTile, 0, CROSSHAIR_PAL, 2, gViewX0, gViewY0, gViewX1, gViewY1);
rotatesprite(160<<16, defaultHoriz<<16, 65536, 0, kCrosshairTile, 0, g_isAlterDefaultCrosshair ? CROSSHAIR_PAL : 0, 2, gViewX0, gViewY0, gViewX1, gViewY1);
}
cX = (v4c >> 8) + 160;
cY = (v48 >> 8) + 220 + (zDelta >> 7);