From 97023b9b505cae6f7f08894608dee4e1d4cf1ef4 Mon Sep 17 00:00:00 2001 From: Margen67 Date: Wed, 21 Apr 2021 18:33:35 -1000 Subject: [PATCH] oops --- Peep-AI.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Peep-AI.md b/Peep-AI.md index 20a2741..1bcac50 100644 --- a/Peep-AI.md +++ b/Peep-AI.md @@ -70,6 +70,6 @@ In the above example `-` represents an invalid tile. As there is only one direct If 0x00F1AEDE is none zero such as after a one direction string of path then 0x00F1AEDC is decremented twice. Otherwise it is decremented once. If 0x00F1AEDC is less than zero then score is returned (this route is too long). -0x00F1AEDC represents the number of junction walked, long sections of no choice tiles are ignored (This incidentally is the reason why mechanics can often end up choosing a very long route instead of a direct route with more choices. [#3423](https://github.com/OpenRCT2/OpenRCT2/issues/3423) +0x00F1AEDC represents the number of junction walked, long sections of no choice tiles are ignored (This incidentally is the reason why mechanics can often end up choosing a very long route instead of a direct route with more choices. [#3423](https://github.com/OpenRCT2/OpenRCT2/issues/3423)) The function then iterates each of the valid edges and calls sub_69A997 on each of them. 0x00F1AEDE is reset to zero to prevent no choice routes affecting future tiles. 0x00F1AEDC is saved and then restored at each call as it represents the current routes number of tiles and needs to start the same for each direction. The score is saved after each call so that it can be checked each time to see if it's better.