Skip to content

Commit

Permalink
mapgen: use is_ot_subtype for anthills
Browse files Browse the repository at this point in the history
sulphurous anthills were not being spawned, so fix that.
  • Loading branch information
mlangsdorf authored and kevingranade committed May 13, 2019
1 parent 90f544a commit 469d249
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 @@ -2753,7 +2753,7 @@ void map::draw_map( const oter_id &terrain_type, const oter_id &t_north, const o
draw_mine( terrain_type, dat, when, density );
} else if( is_ot_type( "silo", terrain_type ) ) {
draw_silo( terrain_type, dat, when, density );
} else if( is_ot_type( "anthill", terrain_type ) ) {
} else if( is_ot_subtype( "anthill", terrain_type ) ) {
draw_anthill( terrain_type, dat, when, density );
} else if( is_ot_subtype( "lab", terrain_type ) ) {
draw_lab( terrain_type, dat, when, density );
Expand Down

0 comments on commit 469d249

Please sign in to comment.