diff options
Diffstat (limited to 'src/cargo_type.h')
-rw-r--r-- | src/cargo_type.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/cargo_type.h b/src/cargo_type.h index 8d9a1a825..d2261c037 100644 --- a/src/cargo_type.h +++ b/src/cargo_type.h @@ -87,7 +87,8 @@ public: memset(this->amount, 0, sizeof(this->amount)); } - /** Read/write access to an amount of a specific cargo type. + /** + * Read/write access to an amount of a specific cargo type. * @param cargo Cargo type to access. */ FORCEINLINE uint &operator[](CargoID cargo) @@ -95,7 +96,8 @@ public: return this->amount[cargo]; } - /** Read-only access to an amount of a specific cargo type. + /** + * Read-only access to an amount of a specific cargo type. * @param cargo Cargo type to access. */ FORCEINLINE const uint &operator[](CargoID cargo) const |