OSDN Git Service
(root)
/
skyscrapersim
/
skyscraper.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bc3425c
)
Fix for last commit
author
ryan
<>
Mon, 16 Jan 2017 03:12:35 +0000
(
03:12
+0000)
committer
ryan
<>
Mon, 16 Jan 2017 03:12:35 +0000
(
03:12
+0000)
src/sbs/callbutton.cpp
patch
|
blob
|
history
diff --git
a/src/sbs/callbutton.cpp
b/src/sbs/callbutton.cpp
index
00c91d7
..
9232715
100644
(file)
--- a/
src/sbs/callbutton.cpp
+++ b/
src/sbs/callbutton.cpp
@@
-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;