From 469d2498f7f469c180368f5a84e9419bbc4099fb Mon Sep 17 00:00:00 2001 From: Mark Langsdorf Date: Mon, 13 May 2019 12:26:28 -0500 Subject: [PATCH] mapgen: use is_ot_subtype for anthills sulphurous anthills were not being spawned, so fix that. --- src/mapgen.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mapgen.cpp b/src/mapgen.cpp index d561b217000fc..0b4da44325ed5 100644 --- a/src/mapgen.cpp +++ b/src/mapgen.cpp @@ -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 );