Skip to content

Commit

Permalink
Don't clamp New Floor params.
Browse files Browse the repository at this point in the history
New Floor uses the high-bit to toggle ceilings.
  • Loading branch information
Chris Frantz committed Apr 16, 2019
1 parent de757f4 commit 2d478d8
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion imwidget/map_command.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 2d478d8

Please sign in to comment.