From c24374f99c22d9420d6d182ff835f07a5b954b48 Mon Sep 17 00:00:00 2001 From: planetmaker Date: Tue, 8 Jan 2013 22:46:42 +0000 Subject: (svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by Eagle_rainbow) --- src/script/api/script_event_types.hpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/script/api/script_event_types.hpp') diff --git a/src/script/api/script_event_types.hpp b/src/script/api/script_event_types.hpp index f7b58c5ce..62834113d 100644 --- a/src/script/api/script_event_types.hpp +++ b/src/script/api/script_event_types.hpp @@ -141,7 +141,7 @@ private: }; /** - * Event Subidy Awarded, indicating a subsidy is awarded to some company. + * Event Subsidy Awarded, indicating a subsidy is awarded to some company. * @api ai game */ class ScriptEventSubsidyAwarded : public ScriptEvent { @@ -168,7 +168,7 @@ public: SubsidyID GetSubsidyID() { return this->subsidy_id; } private: - SubsidyID subsidy_id; ///< The subsidy that was awared. + SubsidyID subsidy_id; ///< The subsidy that was awarded. }; /** @@ -412,7 +412,7 @@ class ScriptEventCompanyMerger : public ScriptEvent { public: /** * @param old_owner The company bought off. - * @param new_owner The company that bougth owner. + * @param new_owner The company that bought owner. */ ScriptEventCompanyMerger(Owner old_owner, Owner new_owner) : ScriptEvent(ET_COMPANY_MERGER), @@ -432,7 +432,7 @@ public: * @return The CompanyID of the company that has been bought. * @note: The value below is not valid anymore as CompanyID, and * ScriptCompany::ResolveCompanyID will return COMPANY_COMPANY. It's - * only usefull if you're keeping track of company's yourself. + * only useful if you're keeping track of company's yourself. */ ScriptCompany::CompanyID GetOldCompanyID() { return this->old_owner; } @@ -700,7 +700,7 @@ public: VehicleID GetVehicleID() { return this->vehicle; } private: - StationID station; ///< The station the vehicle arived at. + StationID station; ///< The station the vehicle arrived at. VehicleID vehicle; ///< The vehicle that arrived at the station. }; -- cgit v1.2.3-54-g00ecf