mirror of
https://github.com/DrBeef/Raze.git
synced 2025-01-20 08:00:56 +00:00
- use literal constant for this.
This commit is contained in:
parent
6a0b552352
commit
e309d05161
4 changed files with 7 additions and 7 deletions
|
@ -229,7 +229,7 @@ static void batMoveDodgeDown(DBloodActor* actor)
|
|||
t2 -= FixedToFloat(pDudeInfo->sideSpeed);
|
||||
});
|
||||
|
||||
actor->vel.Z = FixedToFloat(0x44444);
|
||||
actor->vel.Z = 4.26666;
|
||||
}
|
||||
|
||||
static void batThinkChase(DBloodActor* actor)
|
||||
|
@ -340,7 +340,7 @@ static void batMoveSwoop(DBloodActor* actor)
|
|||
AdjustVelocity(actor, ADJUSTER{
|
||||
t1 += FixedToFloat(nAccel) * 0.5;
|
||||
});
|
||||
actor->vel.Z = FixedToFloat(0x44444);
|
||||
actor->vel.Z = 4.26666;
|
||||
}
|
||||
|
||||
static void batMoveFly(DBloodActor* actor)
|
||||
|
|
|
@ -244,7 +244,7 @@ static void eelMoveDodgeDown(DBloodActor* actor)
|
|||
t2 -= FixedToFloat(pDudeInfo->sideSpeed);
|
||||
});
|
||||
|
||||
actor->vel.Z = FixedToFloat(0x44444);
|
||||
actor->vel.Z = 4.26666;
|
||||
}
|
||||
|
||||
static void eelThinkChase(DBloodActor* actor)
|
||||
|
|
|
@ -308,7 +308,7 @@ static void gargMoveDodgeDown(DBloodActor* actor)
|
|||
t2 -= FixedToFloat(pDudeInfo->sideSpeed);
|
||||
});
|
||||
|
||||
actor->vel.Z = FixedToFloat(0x44444);
|
||||
actor->vel.Z = 4.26666;
|
||||
}
|
||||
|
||||
static void gargThinkChase(DBloodActor* actor)
|
||||
|
@ -559,7 +559,7 @@ static void gargMoveSlow(DBloodActor* actor)
|
|||
|
||||
switch (actor->spr.type) {
|
||||
case kDudeGargoyleFlesh:
|
||||
actor->vel.Z = FixedToFloat(0x44444);
|
||||
actor->vel.Z = 4.26666;
|
||||
break;
|
||||
case kDudeGargoyleStone:
|
||||
actor->vel.Z = FixedToFloat(0x35555);
|
||||
|
|
|
@ -286,7 +286,7 @@ static void ghostMoveDodgeDown(DBloodActor* actor)
|
|||
else
|
||||
t2 -= FixedToFloat(pDudeInfo->sideSpeed);
|
||||
});
|
||||
actor->vel.Z = FixedToFloat(0x44444);
|
||||
actor->vel.Z = 4.26666;
|
||||
}
|
||||
|
||||
static void ghostThinkChase(DBloodActor* actor)
|
||||
|
@ -452,7 +452,7 @@ static void ghostMoveSlow(DBloodActor* actor)
|
|||
});
|
||||
switch (actor->spr.type) {
|
||||
case kDudePhantasm:
|
||||
actor->vel.Z = FixedToFloat(0x44444);
|
||||
actor->vel.Z = 4.26666;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue