mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Merge branch 'minusoneframes' into 'master'
Minus One Frames See merge request STJr/SRB2Internal!593
This commit is contained in:
commit
0058b92a8c
1 changed files with 1 additions and 1 deletions
|
|
@ -451,7 +451,7 @@ void R_AddSpriteDefs(UINT16 wadnum)
|
|||
else
|
||||
start++; // just after S_START
|
||||
|
||||
if (end == INT16_MAX)
|
||||
if (end == INT16_MAX || start >= end)
|
||||
{
|
||||
CONS_Debug(DBG_SETUP, "no sprites in pwad %d\n", wadnum);
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue