• R/O
  • HTTP
  • SSH
  • HTTPS

skyscraper: Commit

imported from bazaar


Commit MetaInfo

Révision09f513c7e8a467ff6498442c20538ddd5feb271f (tree)
l'heure2017-02-10 11:12:49
Auteurryan <>
Commiterryan <>

Message de Log

Allow non-emergency stop in fire phase 1 recall mode. This fixes an issue where an elevator wouldn't recall when the mode is activated and the elevator is moving.

Change Summary

Modification

--- a/src/sbs/elevator.cpp
+++ b/src/sbs/elevator.cpp
@@ -576,7 +576,7 @@ bool Elevator::Stop(bool emergency)
576576 return ReportError("cannot stop while in inspection service mode");
577577
578578 //exit if in fire service phase 1 recall
579- if (FireServicePhase1 == 1 && FireServicePhase2 == 0)
579+ if (FireServicePhase1 == 1 && FireServicePhase2 == 0 && emergency == true)
580580 return ReportError("cannot stop while in fire service 1 recall mode");
581581
582582 if (IsMoving == false)
Afficher sur ancien navigateur de dépôt.