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:
Ali El Gariani 2009-02-16 19:24:38 +00:00
parent a9200a5f84
commit ac6db6980c

View file

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