mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-14 19:39:06 +00:00
Remove a useless cast.
Detected by the upcoming gcc-4.8.
This commit is contained in:
parent
88b451d51d
commit
f1459f2bea
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user