From f959d2feea3a4ed4f73867449edf86589b065c7b Mon Sep 17 00:00:00 2001 From: dmwever <56411717+dmwever@users.noreply.github.com> Date: Tue, 21 Jan 2025 19:26:04 -0600 Subject: [PATCH] sanity checks --- libopenage/pathfinding/cost_field.h | 8 ++++---- libopenage/pathfinding/types.h | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/libopenage/pathfinding/cost_field.h b/libopenage/pathfinding/cost_field.h index b9a794f66f..decff980df 100644 --- a/libopenage/pathfinding/cost_field.h +++ b/libopenage/pathfinding/cost_field.h @@ -108,21 +108,21 @@ class CostField { /** * Stamp a cost field cell at a given time. - * + * * @param idx Index of the cell. * @param cost Cost to set. * @param stamped_at Time at which the cost cell is to be stamped. - * + * * @return True if the cell was successfully stamped, false if the cell was already stamped. */ bool stamp(size_t idx, cost_t cost, const time::time_t &stamped_at); /** * Unstamp a cost field cell at a given time. - * + * * @param idx Index of the cell. * @param unstamped_at Time at which the cost cell is to be unstamped. - * + * * @return True if the cell was successfully unstamped, false if the cell was already not stamped. */ bool unstamp(size_t idx, const time::time_t &unstamped_at); diff --git a/libopenage/pathfinding/types.h b/libopenage/pathfinding/types.h index a300250935..86f7ad6d69 100644 --- a/libopenage/pathfinding/types.h +++ b/libopenage/pathfinding/types.h @@ -1,4 +1,4 @@ -// Copyright 2024-2024 the openage authors. See copying.md for legal info. +// Copyright 2024-2025 the openage authors. See copying.md for legal info. #pragma once @@ -130,7 +130,7 @@ using field_cache_t = std::pair, std::shared_p */ struct cost_stamp_t { /** - * Original cost of the stamped cell. + * Original cost of the stamped cell. */ cost_t original_cost;