diff --git a/src/p_map.c b/src/p_map.c
index c2e028472559dad9c75f4c4173689270cf90dcb6..2851fa8264e88b34fe9efd811c2366c11f2aa6ce 100644
--- a/src/p_map.c
+++ b/src/p_map.c
@@ -4999,7 +4999,7 @@ fixed_t P_FloorzAtPos(fixed_t x, fixed_t y, fixed_t z, fixed_t height)
 }
 
 // P_CeilingZAtPos
-// Returns the ceilinz of the XYZ position
+// Returns the ceilingz of the XYZ position
 fixed_t P_CeilingzAtPos(fixed_t x, fixed_t y, fixed_t z, fixed_t height)
 {
 	sector_t *sec = R_PointInSubsector(x, y)->sector;