From 9208c1249d8536bf0beb9e4e9c4dbcaa8ee7d366 Mon Sep 17 00:00:00 2001 From: nukeykt Date: Thu, 2 Jan 2020 21:10:14 +0900 Subject: [PATCH] Blood: fix uninitialized palette usage # Conflicts: # source/blood/src/view.cpp --- source/blood/src/view.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/blood/src/view.cpp b/source/blood/src/view.cpp index 61b76543a..21cb566d9 100644 --- a/source/blood/src/view.cpp +++ b/source/blood/src/view.cpp @@ -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);