Thread
:
Randomising missions
View Single Post
#
8
12-08-2011, 12:16 PM
salmo
Approved Member
Join Date: Mar 2011
Posts: 632
Quote:
Originally Posted by
Octocat
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
.
salmo
View Public Profile
Send a private message to salmo
Find all posts by salmo