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-861f7616d084
master
Per Inge Mathisen 2007-08-02 22:26:08 +00:00
parent 5df7ebd284
commit bc3f5a9073
1 changed files with 2 additions and 2 deletions

View File

@ -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;