MCPcopy Create free account
hub / github.com/ZDoom/Raze / StaticClearRandom

Method StaticClearRandom

source/common/engine/m_random.cpp:241–253  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

239//==========================================================================
240
241void FRandom::StaticClearRandom ()
242{
243 // go through each RNG and set each starting seed differently
244 for (FRandom *rng = FRandom::RNGList; rng != NULL; rng = rng->Next)
245 {
246 rng->Init(rngseed);
247 }
248
249 for (FRandom* rng = FRandom::CRNGList; rng != NULL; rng = rng->Next)
250 {
251 rng->Init(rngseed);
252 }
253}
254
255//==========================================================================
256//

Callers

nothing calls this directly

Calls 1

InitMethod · 0.45

Tested by

no test coverage detected