mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 23:32:09 +00:00
win32 doesn't like random
This commit is contained in:
parent
cd553342e6
commit
fdb74e1aba
1 changed files with 1 additions and 1 deletions
|
@ -772,7 +772,7 @@ GIB_Random_f (void)
|
|||
if (GIB_Argc() != 1)
|
||||
GIB_USAGE ("");
|
||||
else if ((ret = GIB_Return (0)))
|
||||
dsprintf (ret, "%.10g", (double) random()/(double) RAND_MAX);
|
||||
dsprintf (ret, "%.10g", (double) rand ()/(double) RAND_MAX);
|
||||
}
|
||||
|
||||
void
|
||||
|
|
Loading…
Reference in a new issue