Skip to content

Commit

Permalink
Appease clang
Browse files Browse the repository at this point in the history
  • Loading branch information
anothersimulacrum authored and kevingranade committed Dec 21, 2019
1 parent bfb1fcc commit 1e8f27e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mapgen.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2582,7 +2582,7 @@ bool mapgen_function_json_base::has_vehicle_collision( mapgendata &dat, const po
const ter_furn_id &tdata = format[calc_index( p )];
const point map_pos = p + offset;
if( ( tdata.furn != f_null || tdata.ter != t_null ) &&
dat.m.veh_at( tripoint( map_pos.x, map_pos.y, dat.zlevel() ) ).has_value() ) {
dat.m.veh_at( tripoint( map_pos, dat.zlevel() ) ).has_value() ) {
return true;
}
}
Expand Down

0 comments on commit 1e8f27e

Please sign in to comment.