diff --git a/apps/plugins/sdl/progs/quake/draw.c b/apps/plugins/sdl/progs/quake/draw.c index 2a2f65bf4c..c870e6baba 100644 --- a/apps/plugins/sdl/progs/quake/draw.c +++ b/apps/plugins/sdl/progs/quake/draw.c @@ -297,7 +297,7 @@ void Draw_Pic (int x, int y, qpic_t *pic) (y < 0) || (y + pic->height > vid.height)) { - Sys_Error ("Draw_Pic: bad coordinates"); + return; } source = pic->data; @@ -346,7 +346,7 @@ void Draw_TransPic (int x, int y, qpic_t *pic) if (x < 0 || (unsigned)(x + pic->width) > vid.width || y < 0 || (unsigned)(y + pic->height) > vid.height) { - Sys_Error ("Draw_TransPic: bad coordinates"); + return; } source = pic->data; @@ -433,7 +433,7 @@ void Draw_TransPicTranslate (int x, int y, qpic_t *pic, byte *translation) if (x < 0 || (unsigned)(x + pic->width) > vid.width || y < 0 || (unsigned)(y + pic->height) > vid.height) { - Sys_Error ("Draw_TransPic: bad coordinates"); + return; } source = pic->data;