mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-01-18 07:22:28 +00:00
locvars not needed
This commit is contained in:
parent
2418e33a00
commit
eefc285b5c
1 changed files with 1 additions and 7 deletions
|
@ -14606,8 +14606,6 @@ void A_RolloutRock(mobj_t *actor)
|
|||
//
|
||||
void A_DragonbomberSpawn(mobj_t *actor)
|
||||
{
|
||||
INT32 locvar1 = var1;
|
||||
INT32 locvar2 = var2;
|
||||
UINT8 i;
|
||||
mobj_t *mo = actor;
|
||||
|
||||
|
@ -14646,8 +14644,6 @@ void A_DragonbomberSpawn(mobj_t *actor)
|
|||
//
|
||||
void A_DragonWing(mobj_t *actor)
|
||||
{
|
||||
INT32 locvar1 = var1;
|
||||
INT32 locvar2 = var2;
|
||||
mobj_t *target = actor->target;
|
||||
fixed_t x, y;
|
||||
|
||||
|
@ -14676,8 +14672,6 @@ void A_DragonWing(mobj_t *actor)
|
|||
//
|
||||
void A_DragonSegment(mobj_t *actor)
|
||||
{
|
||||
INT32 locvar1 = var1;
|
||||
INT32 locvar2 = var2;
|
||||
mobj_t *target = actor->target;
|
||||
fixed_t dist = P_AproxDistance(P_AproxDistance(actor->x - target->x, actor->y - target->y), actor->z - target->z);
|
||||
fixed_t radius = actor->radius + target->radius;
|
||||
|
@ -14695,4 +14689,4 @@ void A_DragonSegment(mobj_t *actor)
|
|||
|
||||
actor->angle = hangle;
|
||||
P_TeleportMove(actor, target->x + xdist, target->y + ydist, target->z + zdist);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue