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:
b95e6a9
)
Fixed step names
author
ryan
<>
Tue, 27 Dec 2016 02:57:37 +0000
(
02:57
+0000)
committer
ryan
<>
Tue, 27 Dec 2016 02:57:37 +0000
(
02:57
+0000)
src/sbs/escalator.cpp
patch
|
blob
|
history
diff --git
a/src/sbs/escalator.cpp
b/src/sbs/escalator.cpp
index
dbb1a07
..
64b9142
100644
(file)
--- a/
src/sbs/escalator.cpp
+++ b/
src/sbs/escalator.cpp
@@
-61,7
+61,7
@@
Escalator::Escalator(Object *parent, const std::string &name, int run, float spe
//create step meshes
for (int i = 0; i < num_steps; i++)
{
- Step *mesh = new Step(this,
name
, StepContainer);
+ Step *mesh = new Step(this,
"Step " + ToString(i + 1)
, StepContainer);
Steps.push_back(mesh);
}