mirror of
https://github.com/DrBeef/Raze.git
synced 2025-02-01 05:20:43 +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);
|
t2 -= FixedToFloat(pDudeInfo->sideSpeed);
|
||||||
});
|
});
|
||||||
|
|
||||||
actor->vel.Z = FixedToFloat(0x44444);
|
actor->vel.Z = 4.26666;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void batThinkChase(DBloodActor* actor)
|
static void batThinkChase(DBloodActor* actor)
|
||||||
|
@ -340,7 +340,7 @@ static void batMoveSwoop(DBloodActor* actor)
|
||||||
AdjustVelocity(actor, ADJUSTER{
|
AdjustVelocity(actor, ADJUSTER{
|
||||||
t1 += FixedToFloat(nAccel) * 0.5;
|
t1 += FixedToFloat(nAccel) * 0.5;
|
||||||
});
|
});
|
||||||
actor->vel.Z = FixedToFloat(0x44444);
|
actor->vel.Z = 4.26666;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void batMoveFly(DBloodActor* actor)
|
static void batMoveFly(DBloodActor* actor)
|
||||||
|
|
|
@ -244,7 +244,7 @@ static void eelMoveDodgeDown(DBloodActor* actor)
|
||||||
t2 -= FixedToFloat(pDudeInfo->sideSpeed);
|
t2 -= FixedToFloat(pDudeInfo->sideSpeed);
|
||||||
});
|
});
|
||||||
|
|
||||||
actor->vel.Z = FixedToFloat(0x44444);
|
actor->vel.Z = 4.26666;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void eelThinkChase(DBloodActor* actor)
|
static void eelThinkChase(DBloodActor* actor)
|
||||||
|
|
|
@ -308,7 +308,7 @@ static void gargMoveDodgeDown(DBloodActor* actor)
|
||||||
t2 -= FixedToFloat(pDudeInfo->sideSpeed);
|
t2 -= FixedToFloat(pDudeInfo->sideSpeed);
|
||||||
});
|
});
|
||||||
|
|
||||||
actor->vel.Z = FixedToFloat(0x44444);
|
actor->vel.Z = 4.26666;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void gargThinkChase(DBloodActor* actor)
|
static void gargThinkChase(DBloodActor* actor)
|
||||||
|
@ -559,7 +559,7 @@ static void gargMoveSlow(DBloodActor* actor)
|
||||||
|
|
||||||
switch (actor->spr.type) {
|
switch (actor->spr.type) {
|
||||||
case kDudeGargoyleFlesh:
|
case kDudeGargoyleFlesh:
|
||||||
actor->vel.Z = FixedToFloat(0x44444);
|
actor->vel.Z = 4.26666;
|
||||||
break;
|
break;
|
||||||
case kDudeGargoyleStone:
|
case kDudeGargoyleStone:
|
||||||
actor->vel.Z = FixedToFloat(0x35555);
|
actor->vel.Z = FixedToFloat(0x35555);
|
||||||
|
|
|
@ -286,7 +286,7 @@ static void ghostMoveDodgeDown(DBloodActor* actor)
|
||||||
else
|
else
|
||||||
t2 -= FixedToFloat(pDudeInfo->sideSpeed);
|
t2 -= FixedToFloat(pDudeInfo->sideSpeed);
|
||||||
});
|
});
|
||||||
actor->vel.Z = FixedToFloat(0x44444);
|
actor->vel.Z = 4.26666;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void ghostThinkChase(DBloodActor* actor)
|
static void ghostThinkChase(DBloodActor* actor)
|
||||||
|
@ -452,7 +452,7 @@ static void ghostMoveSlow(DBloodActor* actor)
|
||||||
});
|
});
|
||||||
switch (actor->spr.type) {
|
switch (actor->spr.type) {
|
||||||
case kDudePhantasm:
|
case kDudePhantasm:
|
||||||
actor->vel.Z = FixedToFloat(0x44444);
|
actor->vel.Z = 4.26666;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue