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:
6691d60
)
Return fix for Gotofloor action
author
ryan
<>
Sun, 8 Jan 2017 00:21:49 +0000
(
00:21
+0000)
committer
ryan
<>
Sun, 8 Jan 2017 00:21:49 +0000
(
00:21
+0000)
src/sbs/action.cpp
patch
|
blob
|
history
diff --git
a/src/sbs/action.cpp
b/src/sbs/action.cpp
index
1b854f6
..
070735f
100644
(file)
--- a/
src/sbs/action.cpp
+++ b/
src/sbs/action.cpp
@@
-804,7
+804,9
@@
bool Action::Run(Object *caller, Object *parent, bool &hold)
if ((int)command_parameters.size() == 1)
{
sbs->camera->GotoFloor(ToInt(command_parameters[0]));
+ return true;
}
+ return false;
}
return false;