summaryrefslogtreecommitdiff
path: root/src/cargopacket.h
diff options
context:
space:
mode:
authorTechGeekNZ <git@tech.geek.nz>2020-06-06 16:15:23 +1200
committerCharles Pigott <charlespigott@googlemail.com>2020-06-07 01:04:41 +0100
commitfe1925931d671f7ff02c29558b2c61ae9fc8fbb5 (patch)
treeb9e80e6a981679cc6842ac1cbd5abd4ec8e9f1cb /src/cargopacket.h
parent3d8597d42ef5ef10325389aa866c8c136cde9412 (diff)
downloadopenttd-fe1925931d671f7ff02c29558b2c61ae9fc8fbb5.tar.xz
Cleanup: Correct typographic errors in code comments.
Diffstat (limited to 'src/cargopacket.h')
-rw-r--r--src/cargopacket.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cargopacket.h b/src/cargopacket.h
index e34298895..989295621 100644
--- a/src/cargopacket.h
+++ b/src/cargopacket.h
@@ -423,7 +423,7 @@ public:
uint Reroute(uint max_move, VehicleCargoList *dest, StationID avoid, StationID avoid2, const GoodsEntry *ge);
/**
- * Are two the two CargoPackets mergeable in the context of
+ * Are the two CargoPackets mergeable in the context of
* a list of CargoPackets for a Vehicle?
* @param cp1 First CargoPacket.
* @param cp2 Second CargoPacket.
@@ -486,7 +486,7 @@ public:
while (!next.IsEmpty()) {
if (this->packets.find(next.Pop()) != this->packets.end()) return true;
}
- /* Packets for INVALID_STTION can go anywhere. */
+ /* Packets for INVALID_STATION can go anywhere. */
return this->packets.find(INVALID_STATION) != this->packets.end();
}