- renamed some functions and fixed a few more conversion errors.
This commit is contained in:
parent
ec3be2531a
commit
aa09cbdada
33 changed files with 83 additions and 83 deletions
|
|
@ -356,7 +356,7 @@ bool EV_Teleport (int tid, int tag, line_t *line, int side, AActor *thing, int f
|
|||
// Rotate 90 degrees, so that walking perpendicularly across
|
||||
// teleporter linedef causes thing to exit in the direction
|
||||
// indicated by the exit thing.
|
||||
angle = vectoyaw(line->dx, line->dy) - searcher->Angles.Yaw + 90;
|
||||
angle = VecToAngle(line->dx, line->dy) - searcher->Angles.Yaw + 90;
|
||||
|
||||
// Sine, cosine of angle adjustment
|
||||
s = FLOAT2FIXED(angle.Sin());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue