Strip trailing whitespace.

This commit is contained in:
Mark de Wever 2012-02-06 20:27:34 +00:00
parent 560b7cbe23
commit d773fc7990
2 changed files with 2 additions and 2 deletions

View File

@ -321,7 +321,7 @@ void game_display::draw_hex(const map_location& loc)
image::TYPE image_type = get_image_type(loc);
display::draw_hex(loc);
if(on_map && loc == mouseoverHex_) {
tdrawing_layer hex_top_layer = LAYER_MOUSEOVER_BOTTOM;
if( get_visible_unit(loc, teams_[viewing_team()] ) != NULL ) {

View File

@ -1827,7 +1827,7 @@ void unit::redraw_unit()
{
game_display &disp = *game_display::get_singleton();
const gamemap &map = disp.get_map();
if ( hidden_ || !is_visible_to_team(disp.get_teams()[disp.viewing_team()],false,map) )
{
clear_haloes();