From 8aa04fc836116a58f8ffd1e0c3539b9ea8a94ddf Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Thu, 21 Feb 2008 19:06:15 +0000 Subject: dedicated server, entity transfer --- src/sys/sys.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/sys') diff --git a/src/sys/sys.cc b/src/sys/sys.cc index 508756d..a9958f4 100644 --- a/src/sys/sys.cc +++ b/src/sys/sys.cc @@ -67,7 +67,7 @@ unsigned long time() void sleep(float seconds) { #ifndef _WIN32 - ::usleep((useconds_t) seconds * (useconds_t) 1000000.0 ); + ::usleep((useconds_t) (seconds * 1000000.0) ); #endif } -- cgit v1.2.3