Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
Seminar-HFO
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Shashank Suhas
Seminar-HFO
Commits
686153ac
Commit
686153ac
authored
7 years ago
by
drallensmith
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix goof re doDash, doTurn and when they return false
parent
40daeaab
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
2 deletions
+0
-2
src/agent.cpp
src/agent.cpp
+0
-2
No files found.
src/agent.cpp
View file @
686153ac
...
...
@@ -263,11 +263,9 @@ void Agent::actionImpl() {
switch
(
requested_action
)
{
case
DASH
:
last_action_status
=
this
->
doDash
(
params
[
0
],
params
[
1
]);
last_action_status
|=
wm
.
self
().
collidesWithPost
();
// Can sometimes get out of collision
break
;
case
TURN
:
last_action_status
=
this
->
doTurn
(
params
[
0
]);
last_action_status
|=
wm
.
self
().
collidesWithPost
();
// ditto
break
;
case
TACKLE
:
last_action_status
=
this
->
doTackle
(
params
[
0
],
false
);
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment