mirror of
https://github.com/DrBeef/Raze.git
synced 2024-11-16 01:11:28 +00:00
- vel replacements.
This commit is contained in:
parent
7430a630bd
commit
6e2f8ec47f
1 changed files with 3 additions and 3 deletions
|
@ -1128,10 +1128,10 @@ static void windGenDoVerticalWind(int factor, int nSector)
|
|||
}
|
||||
|
||||
val = -MulScale(factor * 64, 0x10000, 16);
|
||||
if (zvel[pSpr->index] >= 0) zvel[pSpr->index] += val;
|
||||
else zvel[pSpr->index] = val;
|
||||
if (actor->zvel() >= 0) actor->zvel() += val;
|
||||
else actor->zvel() = val;
|
||||
|
||||
pSpr->z += zvel[pSpr->index] >> 12;
|
||||
pSpr->z += actor->zvel() >> 12;
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue