From bfc573dc55d863bd557b2f6ed76f6bd2f776df78 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Sun, 18 Aug 2019 22:31:31 +0200 Subject: [PATCH] product:: fixed too high creatures --- geometry.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/geometry.cpp b/geometry.cpp index fcdbaa53..05f93b1f 100644 --- a/geometry.cpp +++ b/geometry.cpp @@ -635,6 +635,7 @@ namespace geom3 { string invalid; ld actual_wall_height() { + if(prod) return cgi.plevel; #if CAP_GP if(GOLDBERG && vid.gp_autoscale_heights) return vid.wall_height * min(4 / hypot_d(2, gp::next), 1); @@ -706,6 +707,7 @@ namespace geom3 { human_height = vid.human_wall_ratio * wh; if(WDIM == 3) human_height = scalefactor * vid.height_width / 2; + if(prod) human_height = min(human_height, cgi.plevel * .9); ld reduce = (WDIM == 3 ? human_height / 2 : 0);