summaryrefslogtreecommitdiff
path: root/src/viewport_sprite_sorter.h
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2017-09-24 13:35:27 +0000
committerfrosch <frosch@openttd.org>2017-09-24 13:35:27 +0000
commit24a1b82840f108bbca0704bc793f9646a52a9d0e (patch)
treead77fb66de25ff829f69d2ca4d3ef17a64e2a34c /src/viewport_sprite_sorter.h
parent96b1ac9d0906ab0fc6678b96689b14b676e7069b (diff)
downloadopenttd-24a1b82840f108bbca0704bc793f9646a52a9d0e.tar.xz
(svn r27916) -Codechange: Enable usage of static_assert for MSVC
Diffstat (limited to 'src/viewport_sprite_sorter.h')
-rw-r--r--src/viewport_sprite_sorter.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/viewport_sprite_sorter.h b/src/viewport_sprite_sorter.h
index 19b903e15..324ece302 100644
--- a/src/viewport_sprite_sorter.h
+++ b/src/viewport_sprite_sorter.h
@@ -37,7 +37,7 @@ struct ParentSpriteToDraw {
int32 left; ///< minimal screen X coordinate of sprite (= x + sprite->x_offs), reference point for child sprites
int32 top; ///< minimal screen Y coordinate of sprite (= y + sprite->y_offs), reference point for child sprites
- int first_child; ///< the first child to draw.
+ int32 first_child; ///< the first child to draw.
bool comparison_done; ///< Used during sprite sorting: true if sprite has been compared with all other sprites
};