shithub: choc

Download patch

ref: 81f2c5b27ac646a1635529d47cd8ec1d3503c908
parent: 81fe8ce185e44714ab55fb194294d77a7976d91e
author: Mike Swanson <mikeonthecomputer@gmail.com>
date: Wed Aug 24 07:21:33 EDT 2016

p_spec: fix the wording of a comment about sector overflows

Thanks to @AXDOOMER for pointing this out. Closes #770

--- a/src/doom/p_spec.c
+++ b/src/doom/p_spec.c
@@ -356,7 +356,7 @@
             }
             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");
             }
--- a/src/strife/p_spec.c
+++ b/src/strife/p_spec.c
@@ -436,7 +436,7 @@
             }
             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");
             }