From 6a673cc7be1dca59b8aa5d0b7b2befb46a0ef437 Mon Sep 17 00:00:00 2001 From: Richard Fine Date: Mon, 26 Aug 2019 10:57:44 +0100 Subject: [PATCH] Introduce INVALID_DIRECTION constant --- src/openrct2/world/Location.hpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/openrct2/world/Location.hpp b/src/openrct2/world/Location.hpp index f05d28b534..99cfbce164 100644 --- a/src/openrct2/world/Location.hpp +++ b/src/openrct2/world/Location.hpp @@ -267,6 +267,8 @@ struct TileCoordsXYZ */ typedef uint8_t Direction; +const Direction INVALID_DIRECTION = 0xFF; + /** * Given a direction, return the direction that points the other way, * on the same axis.