Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2009-01-28 21:47:54 +0000
committerStijn Buys <ingar@osirion.org>2009-01-28 21:47:54 +0000
commit48892cf81a5ef06103286947b2eb55c7c46681a4 (patch)
treef4d9de59fca09c7ab92b83b37fc6b69ca126970a /src/client
parent97746cd48fcc68df3c427ab3a0e18b939eb7906f (diff)
use srand() instead of srandom()
Diffstat (limited to 'src/client')
-rw-r--r--src/client/client.cc2
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;