mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-02 14:12:36 +00:00
Strip trailing whitespace.
This commit is contained in:
parent
560b7cbe23
commit
d773fc7990
@ -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 ) {
|
||||
|
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user