From 6d047924c2db0f6315a2341abd2d21cb8d7c8378 Mon Sep 17 00:00:00 2001 From: Ted John Date: Sat, 1 Oct 2016 18:03:31 +0100 Subject: [PATCH] Compile track_element_is_lift_hill for testpaint --- test/testpaint/compat.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test/testpaint/compat.c b/test/testpaint/compat.c index 1fb8825c50..5abcc01db6 100644 --- a/test/testpaint/compat.c +++ b/test/testpaint/compat.c @@ -150,3 +150,8 @@ sint16 get_height_marker_offset() { return 0; } + +bool track_element_is_lift_hill(rct_map_element *trackElement) +{ + return trackElement->type & 0x80; +}