mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-11-02 19:49:15 +01: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")
|
if (token == "randomseed")
|
||||||
{
|
{
|
||||||
ParseOne(Parser, Global.random_seed, 1);
|
std::string text;
|
||||||
|
ParseOne(Parser, text);
|
||||||
|
Global.random_seed = seed_of(text);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user