From: ryan <> Date: Mon, 30 Jun 2014 20:57:10 +0000 (+0000) Subject: Fixed an issue where the ShaftShowFloors command would cause the destination floor... X-Git-Url: http://git.sourceforge.jp/view?a=commitdiff_plain;h=0c2d41c1af543d6ed3fb6b8f3766ae70b73c5153;p=skyscrapersim%2Fskyscraper.git Fixed an issue where the ShaftShowFloors command would cause the destination floor to become disabled --- diff --git a/src/sbs/shaft.cpp b/src/sbs/shaft.cpp index 4a5ad9d0..26c12653 100644 --- a/src/sbs/shaft.cpp +++ b/src/sbs/shaft.cpp @@ -909,7 +909,7 @@ void Shaft::Check(Ogre::Vector3 position, int current_floor) elevator->ShaftDoorsEnabledRange(0, current_floor, sbs->ShaftDisplayRange); } - if (InsideShaft == false && sbs->InElevator == true && elevator->IsMoving == true) + if (InsideShaft == false && sbs->InElevator == true && elevator->IsMoving == true && elevator->Leveling == false) { //if specified, show floors or outside if user is in a moving elevator if (ShowFloors == true)