Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Travis build failure overmap test #36728

Closed
wants to merge 8 commits into from
8 changes: 4 additions & 4 deletions src/overmap.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3174,11 +3174,11 @@ void overmap::build_anthill( const tripoint &p, int s )
}
}
}
if( queenpoints.empty() ) {
debugmsg( "No queenpoints when building anthill" );

if( !queenpoints.empty() ) {
const tripoint target = random_entry( queenpoints );
ter_set( target, oter_id( "ants_queen" ) );
}
const tripoint target = random_entry( queenpoints );
ter_set( target, oter_id( "ants_queen" ) );

const oter_id root_id( "ants_isolated" );

Expand Down