mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-11 07:11:54 +00:00
Adjusted validation limit for sound velocity again :(
https://forum.zdoom.org/viewtopic.php?t=59979
This commit is contained in:
parent
74c5bab075
commit
140ad241c4
1 changed files with 1 additions and 1 deletions
|
@ -853,7 +853,7 @@ static bool ValidatePosVel(const AActor *actor, const FVector3 &pos, const FVect
|
|||
const bool valid = Validate(pos, POSITION_LIMIT, "position", actor);
|
||||
|
||||
// The maximum velocity is enough to travel through entire map in one tic
|
||||
static const float VELOCITY_LIMIT = 2 * sqrtf(2.f) * POSITION_LIMIT * TICRATE;
|
||||
static const float VELOCITY_LIMIT = 2 * POSITION_LIMIT * TICRATE;
|
||||
return Validate(vel, VELOCITY_LIMIT, "velocity", actor) && valid;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue