View Single Post
  #8  
Old 12-08-2011, 12:16 PM
salmo salmo is offline
Approved Member
 
Join Date: Mar 2011
Posts: 632
Default

Quote:
Originally Posted by Octocat View Post
Here the main idea: do not create an object of Random anew for each use. One would be enough.
So are you saying that the NextInt routine would be better if the highlighted line were used?

code removed by author
__________________
When one engine fails on a two engine bomber, you will always have enough power left to get to the scene of the crash.

Get the latest COD Team Fusion patch info HERE

Last edited by salmo; 10-18-2012 at 09:32 AM.
Reply With Quote