Merge branch 'master' into jgrpp
# Conflicts: # src/lang/english.txt # src/map_type.h # src/network/network_command.cpp # src/object_cmd.cpp # src/rail_cmd.cpp # src/road_cmd.cpp # src/road_func.h # src/saveload/afterload.cpp # src/saveload/saveload.h # src/settings_gui.cpp # src/string.cpp # src/table/road_land.h # src/table/settings/game_settings.ini # src/table/settings/world_settings.ini # src/tbtr_template_gui_main.h # src/train_cmd.cpp
This commit is contained in:
@@ -81,7 +81,7 @@ DECLARE_ENUM_AS_BIT_SET(Slope)
|
||||
* Helper for creating a bitset of slopes.
|
||||
* @param x The slope to convert into a bitset.
|
||||
*/
|
||||
#define M(x) (1 << (x))
|
||||
#define M(x) (1U << (x))
|
||||
/** Constant bitset with safe slopes for building a level crossing. */
|
||||
static const uint32 VALID_LEVEL_CROSSING_SLOPES = M(SLOPE_SEN) | M(SLOPE_ENW) | M(SLOPE_NWS) | M(SLOPE_NS) | M(SLOPE_WSE) | M(SLOPE_EW) | M(SLOPE_FLAT);
|
||||
#undef M
|
||||
|
Reference in New Issue
Block a user