From 0c83642f205a1ae77df0accb6110a74abfe41bf1 Mon Sep 17 00:00:00 2001 From: Jesse Ruderman Date: Sun, 11 Jul 2021 19:56:29 -0700 Subject: [PATCH] Fix UB drawing Familiar's eye --- graph.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/graph.cpp b/graph.cpp index c757d3fb..d3d9832c 100644 --- a/graph.cpp +++ b/graph.cpp @@ -1860,8 +1860,8 @@ EX bool drawMonsterType(eMonster m, cell *where, const shiftmatrix& V1, color_t queuepoly(VAHEAD, cgi.shFamiliarHead, darkena(0xC04000, 0, 0xFF)); // queuepoly(V, cgi.shCatLegs, darkena(0x902000, 0, 0xFF)); if(true) { - queuepoly(VAHEAD, cgi.shFamiliarEye, darkena(0xFFFF000, 0, 0xFF)); - queuepoly(VAHEAD * Mirror, cgi.shFamiliarEye, darkena(0xFFFF000, 0, 0xFF)); + queuepoly(VAHEAD, cgi.shFamiliarEye, darkena(0xFFFF00, 0, 0xFF)); + queuepoly(VAHEAD * Mirror, cgi.shFamiliarEye, darkena(0xFFFF00, 0, 0xFF)); } return true; }