From 7923fcc71020d897573ce2c67b35e8475cb16056 Mon Sep 17 00:00:00 2001 From: "Ira W. Snyder" Date: Thu, 18 Oct 2007 08:54:25 -0700 Subject: [PATCH] BUGFIX: Elevators did not handle Requests in the correct order Requests from RequestButtons were not handled in the correct order, they were handled in the order pressed. Signed-off-by: Ira W. Snyder --- stop.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/stop.cpp b/stop.cpp index 54f0f4f..f81aceb 100644 --- a/stop.cpp +++ b/stop.cpp @@ -12,10 +12,9 @@ bool Stop::operator== (const Stop& rhs) const if (rhs.position_ != position_) return false; -#if 0 + /* This is here to keep the order with "ALL" stops correct */ if (direction_ == ALL || rhs.direction_ == ALL) return true; -#endif return (rhs.direction_ == direction_); } -- 2.25.1