Obvious optimization missed by a certain tired coder. Thanks to LordHavoc for pointing it out.

This commit is contained in:
Ragnvald Maartmann-Moe IV 2001-09-06 01:09:51 +00:00
parent a890be806c
commit 419585b6f2

View file

@ -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