Merge branch 'minusoneframes' into 'master'
Minus One Frames See merge request STJr/SRB2Internal!593
This commit is contained in:
commit
e6f1b82cc4
|
@ -451,7 +451,7 @@ void R_AddSpriteDefs(UINT16 wadnum)
|
||||||
else
|
else
|
||||||
start++; // just after S_START
|
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);
|
CONS_Debug(DBG_SETUP, "no sprites in pwad %d\n", wadnum);
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in a new issue