Fix bug that made enemy units invisible, introduced in r2320.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2323 4a71c877-e1ca-e34f-864e-861f7616d084master
parent
5df7ebd284
commit
bc3f5a9073
|
@ -51,8 +51,8 @@ static SDWORD numRayObjects = 0;
|
|||
static SDWORD currObj;
|
||||
|
||||
// rate to change visibility level
|
||||
#define VIS_LEVEL_INC 255*2
|
||||
#define VIS_LEVEL_DEC 50
|
||||
const static float VIS_LEVEL_INC = 255 * 2;
|
||||
const static float VIS_LEVEL_DEC = 50;
|
||||
|
||||
// fractional accumulator of how much to change visibility this frame
|
||||
static float visLevelIncAcc, visLevelDecAcc;
|
||||
|
|
Loading…
Reference in New Issue