mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-10-17 08:39:19 +02:00
fix(sonar): addressing last reliability/security issues
This commit is contained in:
@@ -1437,7 +1437,8 @@ int eu07_application::init_data()
|
||||
|
||||
int eu07_application::init_modes()
|
||||
{
|
||||
Global.local_random_engine.seed(static_cast<std::mt19937::result_type>(true_random_seed()));
|
||||
// local cosmetics only (sound pitch, editor placement), never security related
|
||||
Global.local_random_engine.seed(static_cast<std::mt19937::result_type>(true_random_seed())); // NOSONAR
|
||||
|
||||
if ((!Global.network_servers.empty() || Global.network_client) && Global.SceneryFile.empty())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user