From 2d478d8d37408152211b0704ed6648894b6c0885 Mon Sep 17 00:00:00 2001 From: Chris Frantz Date: Mon, 15 Apr 2019 18:46:30 -0700 Subject: [PATCH] Don't clamp New Floor params. New Floor uses the high-bit to toggle ceilings. --- imwidget/map_command.cc | 1 - 1 file changed, 1 deletion(-) diff --git a/imwidget/map_command.cc b/imwidget/map_command.cc index db6a717..0f82aae 100644 --- a/imwidget/map_command.cc +++ b/imwidget/map_command.cc @@ -137,7 +137,6 @@ bool MapCommand::Draw(bool abscoord, bool popup) { if (!popup) ImGui::SameLine(); int val = object_; if (ImGui::InputInt("param", &val)) { - Clamp(&val, 0, 15); object_ = val; changed |= true; }