mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-10-17 12:09:19 +02:00
seed from ini can be word
This commit is contained in:
@@ -726,7 +726,9 @@ bool global_settings::ConfigParseSimulation(cParser& Parser, const std::string&
|
||||
|
||||
if (token == "randomseed")
|
||||
{
|
||||
ParseOne(Parser, Global.random_seed, 1);
|
||||
std::string text;
|
||||
ParseOne(Parser, text);
|
||||
Global.random_seed = seed_of(text);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user