From 939cfc209e6747cc908e70916d03c99d2fe8c9c6 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Tue, 30 Mar 2021 11:33:35 +0200 Subject: [PATCH] one more guard fixup --- graph.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/graph.cpp b/graph.cpp index 01630341..da33fcea 100644 --- a/graph.cpp +++ b/graph.cpp @@ -872,6 +872,7 @@ EX bool drawItemType(eItem it, cell *c, const shiftmatrix& V, color_t icol, int draw_shapevec(c, V2 * zpush(-h/20), qfi.fshape->levels[0], 0xFFD500FF, PPR::WALL); } else if(WDIM == 3 && c) { + ld h = cgi.human_height; shiftmatrix V2 = Vit * spin(ticks / 1500.); draw_floorshape(c, V2 * zpush(h/100), cgi.shMFloor3, 0xFFD500FF); draw_floorshape(c, V2 * zpush(h/50), cgi.shMFloor4, darkena(icol, 0, 0xFF));