mirror of https://github.com/OpenRCT2/OpenRCT2.git
Reword comments with "from from".
This commit is contained in:
parent
78715fa1c0
commit
64a2d105e5
|
@ -9795,8 +9795,8 @@ int peep_pathfind_choose_direction(sint16 x, sint16 y, uint8 z, rct_peep *peep)
|
|||
/* Peep remembers this junction, so remove the
|
||||
* chosen_edge from those left to try. */
|
||||
peep->pathfind_history[i].direction &= ~(1 << chosen_edge);
|
||||
/* Also remove the edge the peep came from from
|
||||
* those left to try. */
|
||||
/* Also remove the edge through which the peep
|
||||
* entered the junction from those left to try. */
|
||||
peep->pathfind_history[i].direction &= ~(1 << (peep->direction ^ 2));
|
||||
#if defined(DEBUG_LEVEL_1) && DEBUG_LEVEL_1
|
||||
if (gPathFindDebug) {
|
||||
|
@ -9816,8 +9816,8 @@ int peep_pathfind_choose_direction(sint16 x, sint16 y, uint8 z, rct_peep *peep)
|
|||
peep->pathfind_history[i].z = z;
|
||||
peep->pathfind_history[i].direction = permitted_edges;
|
||||
peep->pathfind_history[i].direction &= ~(1 << chosen_edge);
|
||||
/* Also remove the edge the peep came from from
|
||||
* those left to try. */
|
||||
/* Also remove the edge through which the peep
|
||||
* entered the junction from those left to try. */
|
||||
peep->pathfind_history[i].direction &= ~(1 << (peep->direction ^ 2));
|
||||
#if defined(DEBUG_LEVEL_1) && DEBUG_LEVEL_1
|
||||
if (gPathFindDebug) {
|
||||
|
|
Loading…
Reference in New Issue