summaryrefslogtreecommitdiff
path: root/src/direction_func.h
diff options
context:
space:
mode:
authorplanetmaker <planetmaker@openttd.org>2013-01-08 22:46:42 +0000
committerplanetmaker <planetmaker@openttd.org>2013-01-08 22:46:42 +0000
commitc24374f99c22d9420d6d182ff835f07a5b954b48 (patch)
tree7043ad53c941668339a0949867e10888f9e54f16 /src/direction_func.h
parent89a2ba2a6d25e605c391e7343ba66090ee9f26de (diff)
downloadopenttd-c24374f99c22d9420d6d182ff835f07a5b954b48.tar.xz
(svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by Eagle_rainbow)
Diffstat (limited to 'src/direction_func.h')
-rw-r--r--src/direction_func.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/direction_func.h b/src/direction_func.h
index bf92a9ad6..657645e28 100644
--- a/src/direction_func.h
+++ b/src/direction_func.h
@@ -93,7 +93,7 @@ static inline DiagDirection ReverseDiagDir(DiagDirection d)
* the new DiagDirection.
*
* @param d The DiagDirection
- * @param delta The difference to applie on
+ * @param delta The difference to apply on
* @return The new direction which was calculated
*/
static inline DiagDirection ChangeDiagDir(DiagDirection d, DiagDirDiff delta)
@@ -207,7 +207,7 @@ static inline DiagDirection XYNSToDiagDir(Axis xy, uint ns)
}
/**
- * Checks if an interger value is a valid DiagDirection
+ * Checks if an integer value is a valid DiagDirection
*
* @param d The value to check
* @return True if the value belongs to a DiagDirection, else false