diff options
Diffstat (limited to 'apps/plugins/sdl')
-rw-r--r-- | apps/plugins/sdl/progs/quake/draw.c | 6 |
1 files changed, 3 insertions, 3 deletions
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) | |||
297 | (y < 0) || | 297 | (y < 0) || |
298 | (y + pic->height > vid.height)) | 298 | (y + pic->height > vid.height)) |
299 | { | 299 | { |
300 | Sys_Error ("Draw_Pic: bad coordinates"); | 300 | return; |
301 | } | 301 | } |
302 | 302 | ||
303 | source = pic->data; | 303 | source = pic->data; |
@@ -346,7 +346,7 @@ void Draw_TransPic (int x, int y, qpic_t *pic) | |||
346 | if (x < 0 || (unsigned)(x + pic->width) > vid.width || y < 0 || | 346 | if (x < 0 || (unsigned)(x + pic->width) > vid.width || y < 0 || |
347 | (unsigned)(y + pic->height) > vid.height) | 347 | (unsigned)(y + pic->height) > vid.height) |
348 | { | 348 | { |
349 | Sys_Error ("Draw_TransPic: bad coordinates"); | 349 | return; |
350 | } | 350 | } |
351 | 351 | ||
352 | source = pic->data; | 352 | source = pic->data; |
@@ -433,7 +433,7 @@ void Draw_TransPicTranslate (int x, int y, qpic_t *pic, byte *translation) | |||
433 | if (x < 0 || (unsigned)(x + pic->width) > vid.width || y < 0 || | 433 | if (x < 0 || (unsigned)(x + pic->width) > vid.width || y < 0 || |
434 | (unsigned)(y + pic->height) > vid.height) | 434 | (unsigned)(y + pic->height) > vid.height) |
435 | { | 435 | { |
436 | Sys_Error ("Draw_TransPic: bad coordinates"); | 436 | return; |
437 | } | 437 | } |
438 | 438 | ||
439 | source = pic->data; | 439 | source = pic->data; |