View Single Post
  #7  
Unread 12th April, 2010, 08:20 PM
AnthraX's Avatar
AnthraX AnthraX is offline
Administrator
 
Join Date: Jun 2004
Location: Ghent (Belgium)
Posts: 1,380
Default

Quote:
Originally Posted by rork View Post
Nice article, very interesting if you're interested in game engines and stuff. It also explains the performance improvements well. I was wondering, are the timing fixes also applied on a linux client and on the server?

There's a small mistake in your code:
Code:
else if (OldTime > 0xF0000000 && NewTime < 0x10000000)
	OltTime = NewTime;

return TimeInSec;
Oldtime is spelled wrong, and as far as I understand it it wouldn't change anything for OldTime won't be used after that line again.
I don't actually use that code, it was just pseudocode really but if spelled correctly it should work
Reply With Quote