mirror of
https://github.com/DrBeef/Raze.git
synced 2025-02-22 11:41:08 +00:00
- missed 2 vel in skull.cpp
This commit is contained in:
parent
b3a3f89f50
commit
9103f4dbe8
1 changed files with 2 additions and 2 deletions
|
@ -456,7 +456,7 @@ int DoSkullWait(DSWActor* actor)
|
||||||
if (dist < 8000)
|
if (dist < 8000)
|
||||||
{
|
{
|
||||||
actor->spr.angle = VecToAngle(actor->user.targetActor->spr.pos - actor->spr.pos);
|
actor->spr.angle = VecToAngle(actor->user.targetActor->spr.pos - actor->spr.pos);
|
||||||
actor->set_int_xvel(128 + (RANDOM_P2(256<<8)>>8));
|
actor->vel.X = 8 + RandomRangeF(16);
|
||||||
actor->user.jump_speed = -700;
|
actor->user.jump_speed = -700;
|
||||||
NewStateGroup(actor, sg_SkullJump);
|
NewStateGroup(actor, sg_SkullJump);
|
||||||
DoBeginJump(actor);
|
DoBeginJump(actor);
|
||||||
|
@ -818,7 +818,7 @@ int DoBettyWait(DSWActor* actor)
|
||||||
if (dist < 8000)
|
if (dist < 8000)
|
||||||
{
|
{
|
||||||
actor->spr.angle = VecToAngle(actor->user.targetActor->spr.pos - actor->spr.pos);
|
actor->spr.angle = VecToAngle(actor->user.targetActor->spr.pos - actor->spr.pos);
|
||||||
actor->set_int_xvel(128 + (RANDOM_P2(256<<8)>>8));
|
actor->vel.X = 8 + RandomRangeF(16);
|
||||||
actor->user.jump_speed = -700;
|
actor->user.jump_speed = -700;
|
||||||
NewStateGroup(actor, sg_BettyJump);
|
NewStateGroup(actor, sg_BettyJump);
|
||||||
DoBeginJump(actor);
|
DoBeginJump(actor);
|
||||||
|
|
Loading…
Reference in a new issue