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:
e1e29ef
)
Fixed click-shift order
author
ryan
<>
Mon, 26 Dec 2016 20:34:24 +0000
(20:34 +0000)
committer
ryan
<>
Mon, 26 Dec 2016 20:34:24 +0000
(20:34 +0000)
src/sbs/escalator.cpp
patch
|
blob
|
history
diff --git
a/src/sbs/escalator.cpp
b/src/sbs/escalator.cpp
index
35bf84e
..
56c6f2a
100644
(file)
--- a/
src/sbs/escalator.cpp
+++ b/
src/sbs/escalator.cpp
@@
-381,10
+381,10
@@
void Escalator::OnClick(Ogre::Vector3 &position, bool shift, bool ctrl, bool alt
if (shift == true)
{
if (Run == 1)
- Run = -1;
- else if (Run == -1)
Run = 0;
else if (Run == 0)
+ Run = -1;
+ else if (Run == -1)
Run = 1;
}
}