Leave a note to anyone foolish enough to try to fix this

This commit is contained in:
RedEnchilada 2016-08-07 12:17:31 -05:00
parent 2b985bda85
commit 02d3382408

View file

@ -1188,6 +1188,8 @@ INT32 P_FindSpecialLineFromTag(INT16 special, INT16 tag, INT32 start)
{
start++;
// This redundant check stops the compiler from complaining about function expansion
// elsewhere for some reason and everything is awful
if (start >= (INT32)numlines)
return -1;