From 591acfebe4a32f46b5c498c56e4712e5de0a6d24 Mon Sep 17 00:00:00 2001 From: Jacob Mandelson Date: Sat, 27 Aug 2022 05:43:24 -0700 Subject: [PATCH] Add hedgehog blade shape to Orb of Thorns. --- geometry.cpp | 2 +- graph.cpp | 1 + polygons.cpp | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/geometry.cpp b/geometry.cpp index d0af0fbb..400107d6 100644 --- a/geometry.cpp +++ b/geometry.cpp @@ -289,7 +289,7 @@ hpcshape shGhost, shEyes, shSlime, shJelly, shJoint, shWormHead, shTentHead, shShark, shWormSegment, shSmallWormSegment, shWormTail, shSmallWormTail, shSlimeEyes, shDragonEyes, shWormEyes, shGhostEyes, shMiniGhost, shMiniEyes, - shHedgehogBlade, shHedgehogBladePlayer, + shHedgehogBlade, shSmallHedgehogBlade, shHedgehogBladePlayer, shWolfBody, shWolfHead, shWolfLegs, shWolfEyes, shWolfFrontLeg, shWolfRearLeg, shWolfFrontPaw, shWolfRearPaw, shFemaleBody, shFemaleHair, shFemaleDress, shWitchDress, diff --git a/graph.cpp b/graph.cpp index 4930358e..ca2319c0 100644 --- a/graph.cpp +++ b/graph.cpp @@ -1090,6 +1090,7 @@ EX bool drawItemType(eItem it, cell *c, const shiftmatrix& V, color_t icol, int (it == itOrbSide1) ? cgi.shSmallPSword : (it == itOrbDigging) ? cgi.shSmallPickAxe : (it == itOrbSword || it == itOrbSword2) ? cgi.shSmallSword : + (it == itOrbThorns) ? cgi.shSmallHedgehogBlade : cgi.shDisk; queuepolyat(Vit, shape, dark, prio); if (it == itOrbSide1) diff --git a/polygons.cpp b/polygons.cpp index d13ea68d..65a82581 100644 --- a/polygons.cpp +++ b/polygons.cpp @@ -1370,6 +1370,7 @@ void geometry_information::prepare_shapes() { bshape(shPirateHook, PPR::MONSTER_WPN, scalefactor, 92); bshape(shSabre, PPR::MONSTER_WPN, scalefactor, 93); bshape(shHedgehogBlade, PPR::MONSTER_WPN, scalefactor, 94); + bshape(shSmallHedgehogBlade, PPR::MONSTER_WPN, scalefactor/2, 94); bshape(shHedgehogBladePlayer, PPR::MONSTER_WPN, scalefactor, 95); bshape(shFemaleBody, PPR::MONSTER_BODY, scalefactor, 96); bshape(shFemaleDress, PPR::MONSTER_ARMOR0, scalefactor, 97);