1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-04 13:42:55 +01:00

Revert "Fix #11128: null tile element in track_block_get_previous (#11144)"

This is being reverted now that we have replay records uploaded as part
of the backtrace.io information to try figuring out the root cause.

This reverts commit d1faa228c5.
This commit is contained in:
Michał Janiszewski
2020-04-03 09:46:08 +02:00
parent e19eaa6a98
commit 620be75285

View File

@@ -656,9 +656,6 @@ bool track_block_get_previous_from_zero(
*/
bool track_block_get_previous(int32_t x, int32_t y, TileElement* tileElement, track_begin_end* outTrackBeginEnd)
{
if (tileElement == nullptr)
return false;
auto trackElement = tileElement->AsTrack();
if (trackElement == nullptr)
return false;