Skip to content

Commit

Permalink
sanity checks
Browse files Browse the repository at this point in the history
  • Loading branch information
dmwever committed Jan 22, 2025
1 parent 2730cdb commit f959d2f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions libopenage/pathfinding/cost_field.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
4 changes: 2 additions & 2 deletions libopenage/pathfinding/types.h
Original file line number Diff line number Diff line change
@@ -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

Expand Down Expand Up @@ -130,7 +130,7 @@ using field_cache_t = std::pair<std::shared_ptr<IntegrationField>, std::shared_p
*/
struct cost_stamp_t {
/**
* Original cost of the stamped cell.
* Original cost of the stamped cell.
*/
cost_t original_cost;

Expand Down

0 comments on commit f959d2f

Please sign in to comment.