fixed bug with display of energy bars (CVS internal)

This commit is contained in:
uid68803 2004-02-10 14:07:34 +00:00
parent ded4a89fd9
commit f0e5e58ad2

View file

@ -2409,7 +2409,7 @@ const std::pair<int,int>& display::calculate_energy_bar()
int first_row = -1;
int last_row = -1;
const scoped_sdl_surface image(image::get_image(game_config::unmoved_energy_image,image::UNSCALED,image::NO_ADJUST_COLOUR));
const scoped_sdl_surface image(image::get_image(game_config::unmoved_energy_image,image::SCALED,image::NO_ADJUST_COLOUR));
surface_lock image_lock(image);
const short* const begin = image_lock.pixels();