1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-11-19 15:15:12 +00:00

product:: item placement

This commit is contained in:
Zeno Rogue
2019-08-18 21:30:39 +02:00
parent ecfef817a9
commit aaadf953ea
2 changed files with 10 additions and 1 deletions

View File

@@ -865,7 +865,10 @@ EX bool drawItemType(eItem it, cell *c, const transmatrix& V, color_t icol, int
transmatrix Vit = V;
if(GDIM == 3 && WDIM == 2 && c && it != itBabyTortoise) Vit = mscale(V, cgi.STUFF);
if(GDIM == 3 && c && it != itBabyTortoise) Vit = face_the_player(Vit);
if(c && prod)
Vit = mscale(Vit, sin(ptick(750)) * cgi.plevel / 4);
else
if(GDIM == 3 && c && it != itBabyTortoise) Vit = face_the_player(Vit);
// V * cspin(0, 2, ptick(618, 0));
if(c && history::includeHistory && history::infindhistory.count(c)) poly_outline = OUTLINE_DEAD;