1
0
forked from 0ad/0ad

Remove unused m_rng member from ScriptInterface.

The one in ScriptInterface_Impl is actually used.
Introduced in e9e05f4efc and from what I can tell never actually used.

Differential Revision: https://code.wildfiregames.com/D3960
This was SVN commit r25433.
This commit is contained in:
wraitii 2021-05-14 09:27:12 +00:00
parent 0f60bf3a97
commit f368e1a69e

View File

@ -111,7 +111,7 @@ public:
bool LoadGlobalScripts();
/**
* Replace the default JS random number geenrator with a seeded, network-sync'd one.
* Replace the default JS random number generator with a seeded, network-synced one.
*/
bool ReplaceNondeterministicRNG(boost::random::rand48& rng);
@ -258,7 +258,6 @@ private:
// members have to be called before the custom destructor of ScriptInterface_impl.
std::unique_ptr<ScriptInterface_impl> m;
boost::random::rand48* m_rng;
std::map<std::string, CustomType> m_CustomObjectTypes;
};