mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-15 11:03:00 +01:00
Make sure the header-only function direction_valid is static
This commit is contained in:
@@ -169,7 +169,7 @@ typedef uint8_t Direction;
|
||||
return dir ^ 2;
|
||||
}
|
||||
|
||||
constexpr bool direction_valid(Direction dir)
|
||||
[[maybe_unused]] static constexpr bool direction_valid(Direction dir)
|
||||
{
|
||||
return dir < 4;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user