foxygit / doom Log in
commit 81f2c5b27ac646a1635529d47cd8ec1d3503c908
Author:     Mike Swanson <mikeonthecomputer@gmail.com>
AuthorDate: Wed Aug 24 11:21:33 2016 -0700
Commit:     Mike Swanson <mikeonthecomputer@gmail.com>
CommitDate: Wed Aug 24 11:21:33 2016 -0700

    p_spec: fix the wording of a comment about sector overflows

    Thanks to @AXDOOMER for pointing this out. Closes #770
---
 src/doom/p_spec.c   | 2 +-
 src/strife/p_spec.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/doom/p_spec.c b/src/doom/p_spec.c
index 17446b5d..0d8f0518 100644
--- a/src/doom/p_spec.c
+++ b/src/doom/p_spec.c
@@ -356,7 +356,7 @@ P_FindNextHighestFloor
             }
             else if (h == MAX_ADJOINING_SECTORS + 2)
             {
-                // Fatal overflow: game crashes at 22 textures
+                // Fatal overflow: game crashes at 22 sectors
                 I_Error("Sector with more than 22 adjoining sectors. "
                         "Vanilla will crash here");
             }
diff --git a/src/strife/p_spec.c b/src/strife/p_spec.c
index 30682dd3..dc060147 100644
--- a/src/strife/p_spec.c
+++ b/src/strife/p_spec.c
@@ -436,7 +436,7 @@ P_FindNextHighestFloor
             }
             else if (h == MAX_ADJOINING_SECTORS + 2)
             {
-                // Fatal overflow: game crashes at 22 textures
+                // Fatal overflow: game crashes at 22 sectors
                 I_Error("Sector with more than 22 adjoining sectors. "
                         "Vanilla will crash here");
             }