Added CRandom functions
Unique RNG namespace for client-side effects and HUDs. Identifiers for these cannot clash with identifiers that affect the playsim making them completely safe to use in HUD elements. They also won't be saved.
This commit is contained in:
parent
4c140224a2
commit
597b06ae52
47 changed files with 214 additions and 155 deletions
|
|
@ -98,7 +98,7 @@ Everything that is changed is marked (maybe commented) with "Added by MC"
|
|||
#include "i_system.h" // for SHARE_DIR
|
||||
#endif // !_WIN32 && !__APPLE__
|
||||
|
||||
static FRandom pr_botspawn ("BotSpawn");
|
||||
static FRandom pr_botspawn ("BotSpawn", false);
|
||||
|
||||
cycle_t BotThinkCycles, BotSupportCycles;
|
||||
int BotWTG;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue