Remove the badly commited transparency effect of debug-highlight
(that's the problem with unused feature, you can't test it) This is also a test to see if a dev continues to use this old debug feature (very doubtful) I will re-add transparency later or if i hear/see an utility of this.
This commit is contained in:
parent
8402f56acc
commit
902c133884
1 changed files with 1 additions and 3 deletions
|
@ -371,9 +371,7 @@ void game_display::draw(bool update,bool force)
|
|||
|
||||
// draw cross images for debug highlights
|
||||
if(game_config::debug && debugHighlights_.count(*it)) {
|
||||
const surface cross(image::get_image(game_config::cross_image));
|
||||
adjust_surface_alpha(cross, debugHighlights_[*it], true);
|
||||
tile_stack_append(cross);
|
||||
tile_stack_append(image::get_image(game_config::cross_image));
|
||||
}
|
||||
|
||||
// Add the top layer overlay surfaces
|
||||
|
|
Loading…
Add table
Reference in a new issue