OSDN Git Service

Fix for last commit
authorryan <>
Mon, 16 Jan 2017 03:12:35 +0000 (03:12 +0000)
committerryan <>
Mon, 16 Jan 2017 03:12:35 +0000 (03:12 +0000)
src/sbs/callbutton.cpp

index 00c91d7..9232715 100644 (file)
@@ -880,9 +880,9 @@ bool CallButton::SelectFloor(int floor)
        use_destfloor = true;
 
        if (dest_floor < GetFloor())
-               Call(true);
-       else if (dest_floor > GetFloor())
                Call(false);
+       else if (dest_floor > GetFloor())
+               Call(true);
        else
                return false;