fix: unsigned char overflow
This commit is contained in:
parent
ecfab26fdf
commit
b416a517e4
@ -234,8 +234,8 @@ STlib_updateMultIcon
|
|||||||
|
|
||||||
V_CopyRect(x, y-ST_Y, BG, w, h, x, y, FG);
|
V_CopyRect(x, y-ST_Y, BG, w, h, x, y, FG);
|
||||||
}
|
}
|
||||||
V_DrawPatch(mi->x, mi->y, FG, mi->p[*mi->inum]);
|
V_DrawPatch(mi->x, mi->y, FG, mi->p[(unsigned char)*mi->inum]);
|
||||||
mi->oldinum = *mi->inum;
|
mi->oldinum = (unsigned char)*mi->inum;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user