VC warning fix
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2667 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
@@ -19,7 +19,7 @@ void lightray(float bx, float by, const persistent_entity &light, float fade = 1
|
||||
const float PRECF = 4096.0f;
|
||||
int x = (int)(lx*PRECF);
|
||||
int y = (int)(ly*PRECF);
|
||||
int fadescale = fade*(1<<PRECBITS);
|
||||
int fadescale = (int)(fade*PRECF);
|
||||
int l = light.attr2*fadescale;
|
||||
int stepx = (int)(dx/(float)steps*PRECF);
|
||||
int stepy = (int)(dy/(float)steps*PRECF);
|
||||
|
||||
Reference in New Issue
Block a user