mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-01-29 12:40:58 +00:00
Merge branch 'minusoneframes' into 'master'
Minus One Frames See merge request STJr/SRB2Internal!593
This commit is contained in:
commit
e6f1b82cc4
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…
Reference in a new issue