mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-23 12:52:46 +00:00
Obvious optimization missed by a certain tired coder. Thanks to LordHavoc for pointing it out.
This commit is contained in:
parent
a890be806c
commit
419585b6f2
1 changed files with 1 additions and 1 deletions
|
@ -62,7 +62,7 @@ extern int nanmask;
|
|||
#define VectorDistance(a, b) sqrt(VectorDistance_fast(a, b))
|
||||
|
||||
|
||||
#define qfrandom(MAX) ((float) MAX * (rand() / (RAND_MAX + 1.0)))
|
||||
#define qfrandom(MAX) ((float) MAX * (rand() * (1.0 / (RAND_MAX + 1.0))))
|
||||
|
||||
// up / down
|
||||
#define PITCH 0
|
||||
|
|
Loading…
Reference in a new issue