mirror of
https://github.com/wesnoth/wesnoth
synced 2025-04-30 20:10:33 +00:00
Code clean up.
This commit is contained in:
parent
a1d6ad300d
commit
fd89e54dff
@ -354,9 +354,7 @@ void button::draw_contents()
|
||||
}
|
||||
}
|
||||
|
||||
surface nimage = make_neutral_surface(image);
|
||||
//TODO avoid magic numbers
|
||||
//SDL_Rect r = create_rect(1, 1, 0, 0);
|
||||
surface nimage = make_neutral_surface(image);
|
||||
blit_surface(noverlay, NULL, nimage, NULL);
|
||||
image = nimage;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user