mirror of
https://github.com/DrBeef/Raze.git
synced 2024-11-15 17:01:51 +00:00
- falladjustz
This commit is contained in:
parent
6482fefeb3
commit
0c7274752c
3 changed files with 6 additions and 6 deletions
|
@ -5141,7 +5141,7 @@ void fall_common(DDukeActor *actor, int playernum, int JIBS6, int DRONE, int BLO
|
|||
}
|
||||
}
|
||||
if (actor->sector()->lotag == 1)
|
||||
actor->add_int_z(gs.actorinfo[actor->spr.picnum].falladjustz);
|
||||
actor->spr.pos.Z += gs.actorinfo[actor->spr.picnum].falladjustz;
|
||||
else actor->vel.Z = 0;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -152,7 +152,7 @@ void initactorflags_d()
|
|||
|
||||
for (auto &fa : gs.actorinfo)
|
||||
{
|
||||
fa.falladjustz = 24 << 8;
|
||||
fa.falladjustz = 24;
|
||||
}
|
||||
gs.actorinfo[OCTABRAIN].falladjustz = gs.actorinfo[COMMANDER].falladjustz = gs.actorinfo[DRONE].falladjustz = 0;
|
||||
|
||||
|
|
|
@ -112,13 +112,13 @@ void initactorflags_r()
|
|||
|
||||
for (auto& fa : gs.actorinfo)
|
||||
{
|
||||
fa.falladjustz = 24 << 8;
|
||||
fa.falladjustz = 24;
|
||||
}
|
||||
if (isRRRA())
|
||||
{
|
||||
gs.actorinfo[HULKBOAT].falladjustz = 12 << 8;
|
||||
gs.actorinfo[MINIONBOAT].falladjustz = 3 << 8;
|
||||
gs.actorinfo[CHEERBOAT].falladjustz = gs.actorinfo[EMPTYBOAT].falladjustz = 6 << 8;
|
||||
gs.actorinfo[HULKBOAT].falladjustz = 12;
|
||||
gs.actorinfo[MINIONBOAT].falladjustz = 3;
|
||||
gs.actorinfo[CHEERBOAT].falladjustz = gs.actorinfo[EMPTYBOAT].falladjustz = 6;
|
||||
}
|
||||
gs.actorinfo[DRONE].falladjustz = 0;
|
||||
|
||||
|
|
Loading…
Reference in a new issue