mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2024-12-27 04:41:23 +00:00
Leave a note to anyone foolish enough to try to fix this
This commit is contained in:
parent
2b985bda85
commit
02d3382408
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue