attempt to fix energy bar problem on OSX

This commit is contained in:
uid68803 2004-02-10 05:16:41 +00:00
parent bf0b94073c
commit 1d03b2cf2e

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));
const scoped_sdl_surface image(image::get_image(game_config::unmoved_energy_image,image::UNSCALED,image::NO_ADJUST_COLOUR));
surface_lock image_lock(image);
const short* const begin = image_lock.pixels();