Fix for gcc compiler warning about a call to do_lamp_tex() resulting in "overflow in implicit constant conversion"
This commit is contained in:
@@ -2301,7 +2301,7 @@ void do_sky_tex(float *rco, float *lo, float *dxyview, float *hor, float *zen, f
|
||||
/* ------------------------------------------------------------------------- */
|
||||
/* colf supposed to be initialized with la->r,g,b */
|
||||
|
||||
void do_lamp_tex(LampRen *la, float *lavec, ShadeInput *shi, float *colf, short effect)
|
||||
void do_lamp_tex(LampRen *la, float *lavec, ShadeInput *shi, float *colf, int effect)
|
||||
{
|
||||
Object *ob;
|
||||
MTex *mtex;
|
||||
|
||||
Reference in New Issue
Block a user