projects
/
cs356-p1-elevator.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix RequestButton clearing
[cs356-p1-elevator.git]
/
elevator.cpp
diff --git
a/elevator.cpp
b/elevator.cpp
index
b8cdb50
..
62dfb19
100644
(file)
--- 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