mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-10 20:52:18 +00:00
Remove an old-style-cast.
This commit is contained in:
parent
6dbf15861e
commit
39a8fa1255
@ -457,7 +457,7 @@ void terrain_palette::draw(bool force) {
|
||||
<< "</span>";
|
||||
}
|
||||
tooltips::add_tooltip(dstrect, tooltip_text.str());
|
||||
if (((int)counter) % terrain_width_ == terrain_width_ - 1)
|
||||
if (static_cast<int>(counter) % terrain_width_ == terrain_width_ - 1)
|
||||
y += terrain_size_ + size_specs_.terrain_padding;
|
||||
}
|
||||
update_rect(loc);
|
||||
|
Loading…
x
Reference in New Issue
Block a user