pic crash fix

This commit is contained in:
eukos 2015-08-06 23:14:50 +02:00
parent 4654c0fae2
commit 16d21afafd

View file

@ -2016,6 +2016,9 @@ void Draw_Pic_Scaled (int x, int y, qpic_t *pic)
float vmax, umax;
if(pic == NULL)
return;
if ((x < 0) ||
(x + pic->width > vid.width) ||
(y < 0) ||