From 48892cf81a5ef06103286947b2eb55c7c46681a4 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Wed, 28 Jan 2009 21:47:54 +0000 Subject: use srand() instead of srandom() --- src/client/client.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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; -- cgit v1.2.3