From 90b206dec38f0bba1d4cb092d21b7c5afd8f989d Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Wed, 15 May 2019 17:41:57 +0200 Subject: [PATCH] draw: 'statue' displayed when editing statues; floors display 'pick something' in 3D --- mapeditor.cpp | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/mapeditor.cpp b/mapeditor.cpp index 96a5d854..26d76865 100644 --- a/mapeditor.cpp +++ b/mapeditor.cpp @@ -1251,7 +1251,14 @@ namespace mapeditor { break; case sgFloor: - line1 = XLAT("floor"); + line1 = DIM == 3 ? XLAT("pick something") : XLAT("floor"); + line2 = "#" + its(drawcellShapeID()); + /* line2 = XLAT(ishept(drawcell) ? "heptagonal" : + ishex1(drawcell) ? "hexagonal #1" : "hexagonal"); */ + break; + + case sgWall: + line1 = XLAT("statue"); line2 = "#" + its(drawcellShapeID()); /* line2 = XLAT(ishept(drawcell) ? "heptagonal" : ishex1(drawcell) ? "hexagonal #1" : "hexagonal"); */