summaryrefslogtreecommitdiff
path: root/src/newgrf_engine.cpp
diff options
context:
space:
mode:
authorJMcKiern <jmckiern@tcd.ie>2019-09-29 21:27:32 +0100
committerCharles Pigott <charlespigott@googlemail.com>2019-09-29 21:27:32 +0100
commit04f659e768486da4fc73a97a633f140d9733bf78 (patch)
tree7d1ecef7d6a39891d2485ae8a0ef8f12673d2b93 /src/newgrf_engine.cpp
parent316e4e94171d8d269b80dd9e329fc1fe610fbfe2 (diff)
downloadopenttd-04f659e768486da4fc73a97a633f140d9733bf78.tar.xz
Fix: Some typos found using codespell
Diffstat (limited to 'src/newgrf_engine.cpp')
-rw-r--r--src/newgrf_engine.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/newgrf_engine.cpp b/src/newgrf_engine.cpp
index 955e4ac31..184cb1947 100644
--- a/src/newgrf_engine.cpp
+++ b/src/newgrf_engine.cpp
@@ -248,7 +248,7 @@ static byte MapAircraftMovementState(const Aircraft *v)
return AMS_TTDP_TO_INWAY;
case HELILANDING:
- case HELIENDLANDING: // Helicoptor is decending.
+ case HELIENDLANDING: // Helicoptor is descending.
if (amdflag & AMED_HELI_LOWER) {
return afc->delta_z == 0 ?
AMS_TTDP_HELI_LAND_AIRPORT : AMS_TTDP_HELI_LAND_HELIPORT;
@@ -1072,7 +1072,7 @@ bool UsesWagonOverride(const Vehicle *v)
* @param param1 First parameter of the callback
* @param param2 Second parameter of the callback
* @param engine Engine type of the vehicle to evaluate the callback for
- * @param v The vehicle to evaluate the callback for, or nullptr if it doesnt exist yet
+ * @param v The vehicle to evaluate the callback for, or nullptr if it doesn't exist yet
* @return The value the callback returned, or CALLBACK_FAILED if it failed
*/
uint16 GetVehicleCallback(CallbackID callback, uint32 param1, uint32 param2, EngineID engine, const Vehicle *v)