mirror of
https://github.com/DrBeef/Raze.git
synced 2025-01-19 07:31:03 +00:00
- eliminate the last int_zvel call
This commit is contained in:
parent
cd6c524b90
commit
671e75ba5f
2 changed files with 1 additions and 6 deletions
|
@ -107,11 +107,6 @@ public:
|
|||
spr.angle = spr.angle.Normalized360();
|
||||
}
|
||||
|
||||
int int_zvel() const
|
||||
{
|
||||
return vel.Z * zworldtoint;
|
||||
}
|
||||
|
||||
// Note: Both Duke and SW use Q12.4 for this, Exhumed doesn't seem to treat horizontal velocity with a fixed factor.
|
||||
int int_xvel() const
|
||||
{
|
||||
|
|
|
@ -1923,7 +1923,7 @@ void movetransports_d(void)
|
|||
case STAT_FALLER:
|
||||
case STAT_DUMMYPLAYER:
|
||||
|
||||
ll = abs(act2->int_zvel()) * zinttoworld;
|
||||
ll = abs(act2->vel.Z);
|
||||
|
||||
{
|
||||
warpspriteto = 0;
|
||||
|
|
Loading…
Reference in a new issue