Skip to content

Commit b1b0acc

Browse files
committed
paranthesis
1 parent a2d14da commit b1b0acc

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

include-what-you-use

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Subproject commit 377eaef70cdda47368939f4d9beabfabe3f628f0

src/monmove.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -1538,8 +1538,8 @@ int monster::calc_movecost( const tripoint_bub_ms &f, const tripoint_bub_ms &t,
15381538
map &here = get_map();
15391539

15401540
// Digging and flying monsters ignore terrain cost
1541-
ignore_fields |= ( flies() || digging() &&
1542-
here.has_flag( ter_furn_flag::TFLAG_DIGGABLE, t ) );
1541+
ignore_fields |= ( flies() || ( digging() &&
1542+
here.has_flag( ter_furn_flag::TFLAG_DIGGABLE, t ) ) );
15431543

15441544
// TODO: if Z movement are handled here, add via_ramp
15451545
// TODO: returns 0 when failed. Check it?

0 commit comments

Comments
 (0)