Skip to content
Snippets Groups Projects
Commit f50fe7a7 authored by Andrew Tridgell's avatar Andrew Tridgell
Browse files

Rover: made a bit test clearer

parent c612b4ad
No related branches found
No related tags found
No related merge requests found
......@@ -72,7 +72,7 @@ static void set_cmd_with_index(struct Location temp, int i)
// Set altitude options bitmask
// XXX What is this trying to do?
if (temp.options & MASK_OPTIONS_RELATIVE_ALT && i != 0){
if ((temp.options & MASK_OPTIONS_RELATIVE_ALT) && i != 0){
temp.options = MASK_OPTIONS_RELATIVE_ALT;
} else {
temp.options = 0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment