mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-06-25 04:05:05 +00:00
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:
@@ -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;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user