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:
Ali El Gariani 2007-07-08 23:59:25 +00:00
parent 8402f56acc
commit 902c133884

View file

@ -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