mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-24 21:31:46 +00:00
Fix error message when a patch is missing
This commit is contained in:
parent
f406e9bbb5
commit
32a3683e07
1 changed files with 4 additions and 1 deletions
|
@ -355,7 +355,10 @@ static void CheckFrame(const char *sprname)
|
||||||
{
|
{
|
||||||
case SRF_NONE:
|
case SRF_NONE:
|
||||||
// no rotations were found for that frame at all
|
// no rotations were found for that frame at all
|
||||||
|
if (frame < 64)
|
||||||
I_Error("R_AddSingleSpriteDef: No patches found for %s frame %d (%c)", sprname, frame, R_Frame2Char(frame));
|
I_Error("R_AddSingleSpriteDef: No patches found for %s frame %d (%c)", sprname, frame, R_Frame2Char(frame));
|
||||||
|
else
|
||||||
|
I_Error("R_AddSingleSpriteDef: No patches found for %s frame %d", sprname, frame);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case SRF_SINGLE:
|
case SRF_SINGLE:
|
||||||
|
|
Loading…
Reference in a new issue