From d45de579f5f8d04aadbbdd799d4723115c516310 Mon Sep 17 00:00:00 2001 From: "Nikolai V. Chr" Date: Sun, 27 Nov 2022 10:48:01 +0100 Subject: [PATCH] seed the random generator with systime --- BUK-M2/Nasal/fdm.nas | 2 +- MIM-104D/Nasal/fdm.nas | 2 +- S-75/Nasal/fdm.nas | 2 +- SA-6/Nasal/fdm.nas | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/BUK-M2/Nasal/fdm.nas b/BUK-M2/Nasal/fdm.nas index 0421fce..1882ac3 100644 --- a/BUK-M2/Nasal/fdm.nas +++ b/BUK-M2/Nasal/fdm.nas @@ -14,7 +14,7 @@ # along with this program. If not, see . #io.include("Aircraft/ExpansionPack/Nasal/init.nas"); - +srand();# seed the random generator with systime #with("updateloop"); # Number of iterations per second diff --git a/MIM-104D/Nasal/fdm.nas b/MIM-104D/Nasal/fdm.nas index 8469eb6..2332516 100644 --- a/MIM-104D/Nasal/fdm.nas +++ b/MIM-104D/Nasal/fdm.nas @@ -14,7 +14,7 @@ # along with this program. If not, see . #io.include("Aircraft/ExpansionPack/Nasal/init.nas"); - +srand();# seed the random generator with systime #with("updateloop"); # Number of iterations per second diff --git a/S-75/Nasal/fdm.nas b/S-75/Nasal/fdm.nas index feff5d8..c16c1f2 100644 --- a/S-75/Nasal/fdm.nas +++ b/S-75/Nasal/fdm.nas @@ -14,7 +14,7 @@ # along with this program. If not, see . #io.include("Aircraft/ExpansionPack/Nasal/init.nas"); - +srand();# seed the random generator with systime #with("updateloop"); # Number of iterations per second diff --git a/SA-6/Nasal/fdm.nas b/SA-6/Nasal/fdm.nas index 9145b3e..03504ef 100644 --- a/SA-6/Nasal/fdm.nas +++ b/SA-6/Nasal/fdm.nas @@ -14,7 +14,7 @@ # along with this program. If not, see . #io.include("Aircraft/ExpansionPack/Nasal/init.nas"); - +srand();# seed the random generator with systime #with("updateloop"); # Number of iterations per second