Skip to content

Commit

Permalink
Clean up extraneous newlines
Browse files Browse the repository at this point in the history
  • Loading branch information
harakka committed Nov 3, 2024
1 parent cf71ee5 commit a4befb6
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion src/map.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10778,7 +10778,6 @@ void map::update_pathfinding_cache( const tripoint_bub_ms &p ) const

if( terrain.has_flag( ter_furn_flag::TFLAG_SMALL_PASSAGE ) ) {
cur_value |= ( PathfindingFlag::RestrictLarge | PathfindingFlag::RestrictHuge );

}

cache.special[p.x()][p.y()] = cur_value;
Expand Down
3 changes: 0 additions & 3 deletions src/pathfinding.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -235,11 +235,8 @@ int map::cost_to_pass( const tripoint_bub_ms &cur, const tripoint_bub_ms &p,
( p_special & PathfindingFlag::RestrictLarge && settings.size > creature_size::medium ) ||
( p_special & PathfindingFlag::RestrictHuge && settings.size > creature_size::large ) ) ) {
return PF_IMPASSABLE;

}



const int bash = settings.bash_strength;
const bool allow_open_doors = settings.allow_open_doors;
const bool allow_unlock_doors = settings.allow_unlock_doors;
Expand Down

0 comments on commit a4befb6

Please sign in to comment.