mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-16 09:31:14 +00:00
- increased range of valid sound positions and velocities
https://forum.zdoom.org/viewtopic.php?t=61420
This commit is contained in:
parent
d8d290cd51
commit
494dc20088
1 changed files with 1 additions and 1 deletions
|
@ -835,7 +835,7 @@ static bool Validate(const FVector3 &value, const float limit, const char *const
|
||||||
static bool ValidatePosVel(const AActor *actor, const FVector3 &pos, const FVector3 &vel)
|
static bool ValidatePosVel(const AActor *actor, const FVector3 &pos, const FVector3 &vel)
|
||||||
{
|
{
|
||||||
// The actual limit for map coordinates
|
// The actual limit for map coordinates
|
||||||
static const float POSITION_LIMIT = 32768.f;
|
static const float POSITION_LIMIT = 1024.f * 1024.f;
|
||||||
const bool valid = Validate(pos, POSITION_LIMIT, "position", actor);
|
const bool valid = Validate(pos, POSITION_LIMIT, "position", actor);
|
||||||
|
|
||||||
// The maximum velocity is enough to travel through entire map in one tic
|
// The maximum velocity is enough to travel through entire map in one tic
|
||||||
|
|
Loading…
Reference in a new issue