diff options
author | Stijn Buys <ingar@osirion.org> | 2009-01-28 21:47:54 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2009-01-28 21:47:54 +0000 |
commit | 48892cf81a5ef06103286947b2eb55c7c46681a4 (patch) | |
tree | f4d9de59fca09c7ab92b83b37fc6b69ca126970a /src/client | |
parent | 97746cd48fcc68df3c427ab3a0e18b939eb7906f (diff) |
use srand() instead of srandom()
Diffstat (limited to 'src/client')
-rw-r--r-- | src/client/client.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/client.cc b/src/client/client.cc index 24059a5..dffa1ca 100644 --- a/src/client/client.cc +++ b/src/client/client.cc @@ -153,7 +153,7 @@ void Client::run() // seed random generator unsigned int seed = (unsigned int) SDL_GetTicks(); - srandom(seed); + srand(seed); // default framerate 125fps, 8 milliseconds Uint32 client_frame_lenght = 8; |