A first fix for bug #13002 (small glitches around the credits)
Adding the same border as the title screen. Checking if wanted before optimizing it.
This commit is contained in:
parent
a9200a5f84
commit
ac6db6980c
1 changed files with 4 additions and 0 deletions
|
@ -317,6 +317,10 @@ void show_about(display &disp, std::string campaign)
|
|||
SDL_BlitSurface(map_image,&upper_src,video.getSurface(),&upper_dest);
|
||||
SDL_BlitSurface(map_image,&lower_src,video.getSurface(),&lower_dest);
|
||||
|
||||
// drawing the border (also fix small glitches on the sides)
|
||||
// FIXME: a bit slow, need caching
|
||||
f.draw_border();
|
||||
|
||||
// handle events
|
||||
if (key[SDLK_UP] && scroll_speed < 20) {
|
||||
++scroll_speed;
|
||||
|
|
Loading…
Add table
Reference in a new issue