From 3c8c1f8575d2379a73942f8d6c10edd0c366bcd4 Mon Sep 17 00:00:00 2001 From: "Ira W. Snyder" Date: Mon, 8 Oct 2007 00:33:21 -0700 Subject: [PATCH] Fix RequestButton clearing The RequestButtons for some floors wouldn't clear themselves. Fix that. Signed-off-by: Ira W. Snyder --- elevator.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/elevator.cpp b/elevator.cpp index b8cdb50..62dfb19 100644 --- a/elevator.cpp +++ b/elevator.cpp @@ -193,6 +193,7 @@ void Elevator::transition_open_door () { stops_.remove (Stop(position_, direction_)); gui_unpress_call_button ((int)position_, direction_); + gui_unpress_request_button (number_, (int)position_); } // TODO: Call into the GUI to open the door -- 2.25.1