SetBrush: signed/unsigned fix

This commit is contained in:
Jeff Teunissen 2010-09-27 14:09:02 -04:00
parent 32c1bae1f2
commit 7db4cefb2c

View file

@ -799,7 +799,7 @@ setTexturedef
-setTexturedef:(texturedef_t *)
tex forFace:(int) f
{
if ((unsigned) f > numfaces)
if (f > numfaces)
Sys_Error ("setTexturedef:forFace: bad face number %i", f);
faces[f].texture = *tex;