1
0
mirror of https://github.com/OpenTTD/OpenTTD synced 2026-01-17 09:22:42 +01:00

Codechange 8e9603b: Replace int32_t with AyStarStatus (#13127)

This commit is contained in:
SamuXarick
2024-11-27 23:26:07 +00:00
committed by GitHub
parent 9bc64b553b
commit cf7710fb61
2 changed files with 2 additions and 2 deletions

View File

@@ -1217,7 +1217,7 @@ struct River_UserData {
};
/* AyStar callback for checking whether we reached our destination. */
static int32_t River_EndNodeCheck(const AyStar *aystar, const PathNode *current)
static AyStarStatus River_EndNodeCheck(const AyStar *aystar, const PathNode *current)
{
return current->GetTile() == *(TileIndex*)aystar->user_target ? AYSTAR_FOUND_END_NODE : AYSTAR_DONE;
}