mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-28 15:02:01 +00:00
- fixed: A_SpawnFizzle used the 'speed' property incorrectly.
This is now a fixed point value, even for monsters, so using it as a modulus on a random value cannot possibly work.
This commit is contained in:
parent
aaae9f2e05
commit
2adf8d524c
1 changed files with 1 additions and 1 deletions
|
@ -710,7 +710,7 @@ DEFINE_ACTION_FUNCTION(AActor, A_SpawnFizzle)
|
||||||
{
|
{
|
||||||
PARAM_ACTION_PROLOGUE;
|
PARAM_ACTION_PROLOGUE;
|
||||||
fixed_t dist = 5*FRACUNIT;
|
fixed_t dist = 5*FRACUNIT;
|
||||||
fixed_t speed = self->Speed;
|
fixed_t speed = self->Speed >> FRACBITS;
|
||||||
angle_t rangle;
|
angle_t rangle;
|
||||||
AActor *mo;
|
AActor *mo;
|
||||||
int ix;
|
int ix;
|
||||||
|
|
Loading…
Reference in a new issue