Remove a useless cast.

Detected by the upcoming gcc-4.8.
This commit is contained in:
Mark de Wever 2012-08-25 16:14:59 +00:00
parent 88b451d51d
commit f1459f2bea

View File

@ -82,7 +82,7 @@ void cutter::load_masks(const config& conf)
if(tmp == NULL)
throw exploder_failure("Unable to load mask image " + image);
cur_mask.image = surface(make_neutral_surface(tmp));
cur_mask.image = make_neutral_surface(tmp);
}
if(masks_[name].image == NULL)