Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
kevingranade authored Apr 11, 2020
1 parent fff93b0 commit 605706b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/cata_tiles.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3543,15 +3543,15 @@ void cata_tiles::lr_generic( Iter begin, Iter end, Func id_func, TILE_CATEGORY c
std::string mutable_id_string = id_string;

if( !tileset_ptr->find_tile_type( prefix + id_string ) &&
!find_tile_looks_like( mutable_id_string, category) ) {
!find_tile_looks_like( mutable_id_string, category ) ) {
missing_list.append( id_string + " " );
} else if( !tileset_ptr->find_tile_type( prefix + id_string ) ) {
missing_with_looks_like_list.append( id_string + " " );
}
}
DebugLog( D_INFO, DC_ALL ) << "Missing " << TILE_CATEGORY_IDS[category] << ": " << missing_list;
DebugLog( D_INFO, DC_ALL ) << "Missing " << TILE_CATEGORY_IDS[category] <<
" (but looks_like tile exists): " << missing_with_looks_like_list;
" (but looks_like tile exists): " << missing_with_looks_like_list;
}

template <typename maptype>
Expand Down

0 comments on commit 605706b

Please sign in to comment.