* Fix to (static!) buffer overflow in renderer (from Thilo Schulz)

This commit is contained in:
Tim Angus 2006-04-14 20:15:58 +00:00
parent a235245e35
commit 21e0bdd993

View file

@ -619,7 +619,7 @@ void RB_CalcColorFromOneMinusEntity( unsigned char *dstColors )
{ {
int i; int i;
int *pColors = ( int * ) dstColors; int *pColors = ( int * ) dstColors;
unsigned char invModulate[3]; unsigned char invModulate[4];
int c; int c;
if ( !backEnd.currentEntity ) if ( !backEnd.currentEntity )